Skip to main content

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.

Metadata

Release files for scryfall-set 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scryfall-set 0.2
File Size Uploaded Provenance
scryfall_set-0.2.tar.gz 13.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for scryfall-set 0.2
File Interpreter ABI Platform
scryfall_set-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 27.1 kB

Release files / scryfall_set-0.2.tar.gz

Download URL scryfall_set-0.2.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e654286956cb4d9fcb3a98082ccdc4a46ca0d7c128d16074316afb0d57d18f79
BLAKE2b-256 checksum
How to use checksums
89530740ffff0aeaa57d3e3b410415676d2c1f8f05c91b93771275686c61f13d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / scryfall_set-0.2-py3-none-any.whl

Download URL scryfall_set-0.2-py3-none-any.whl
Size 13.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c2bdfe0ee0882bb5a17bfac8bc7f7f1722bfec3312f67c2fd2df16c5c4f185f5
BLAKE2b-256 checksum
How to use checksums
a340521f7f6aa04785a19b495826f3b37a873887f630c6e91ae644d5f520ea25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Security for scryfall-set 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page