Skip to main content

No project description provided

Project description

scryfall-set

"scry a card, planeswalker..." 🔮🃏

Overview stats for MTG sets and searches using the Scryfall API

example screenshot

install

Install via PyPi with pip install scry-set

locally

Clone and install with pipx install . or pip install .

use

  • Request a reference list of set releases with: scry setlist
    • to see a full list of all releases including bonus boxes and memorabilia: scry setlist --all
  • Get stats for a specific set:
    • scry set BLB returns all cards from the Bloomburrow set
    • scry set latest finds the most recent release.
  • Get stats for cards based on a scryfall search query:
    • scry search id:orzhov type:land legal:modern returns all unique Orzhov Land cards that are legal in Modern format, and shows stats for that list.
  • Get help with scry --help

local database

Scry creates a local sqlite database and adds your queried cards to it. This means you can build a larger collection of cards by executing multiple searches, and then view stats for the entire database with scry stats

This also may lead to large database files with a lot of sets. To clear your database (for instance, to start a fresh collection to view stats on), run scry clear and confirm at the prompt.

about

Made with python and sqlite, and requests to the scryfall API. This is a personal project to learn more about python packaging, sqlite, pytest, and MTG sets.

testing

Run tests with pytest

licence

This project is distributed with the MIT licence

disclaimer

This project is not linked, authorized, endorsed by, or in any way officially connected with Wizards of the Coast.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scryfall_set-0.1.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scryfall_set-0.1-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file scryfall_set-0.1.tar.gz.

File metadata

  • Download URL: scryfall_set-0.1.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for scryfall_set-0.1.tar.gz
Algorithm Hash digest
SHA256 cc7d59118d8261d7fa5598f6c501580f80895556e9f511079aef524e8499f6b2
MD5 0079d73c80ea7f838654aa371d0d8c26
BLAKE2b-256 ed8cc35cb663c4e24d6c858c90782333a5d022a97436d65d9cc8dc5d950f4f4c

See more details on using hashes here.

File details

Details for the file scryfall_set-0.1-py3-none-any.whl.

File metadata

  • Download URL: scryfall_set-0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for scryfall_set-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3dd21c028559884f6f619c85e2cb5127429fb9a3e9a35381e7f12c02b42655d2
MD5 1ad4949963613a4feedcd8c207024025
BLAKE2b-256 0b16971b33eace018f76523d88944b1d998c425d792690a4ecb05919be67d15f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page