Overview stats for MTG sets and searches using the Scryfall API
Project description
scryfall-set
"scry a card, planeswalker..." 🔮🃏
Overview stats for MTG sets and searches using the Scryfall API
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
- to see a full list of all releases including bonus boxes and memorabilia:
- Get stats for a specific set:
scry set BLBreturns all cards from the Bloomburrow setscry set latestfinds the most recent release.
- Get stats for cards based on a scryfall search query:
scry search id:orzhov type:land legal:modernreturns 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scryfall_set-0.2.tar.gz.
File metadata
- Download URL: scryfall_set-0.2.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e654286956cb4d9fcb3a98082ccdc4a46ca0d7c128d16074316afb0d57d18f79
|
|
| MD5 |
9c7fa6b17075daf7a2cb9dfb0358f4c4
|
|
| BLAKE2b-256 |
89530740ffff0aeaa57d3e3b410415676d2c1f8f05c91b93771275686c61f13d
|
File details
Details for the file scryfall_set-0.2-py3-none-any.whl.
File metadata
- Download URL: scryfall_set-0.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2bdfe0ee0882bb5a17bfac8bc7f7f1722bfec3312f67c2fd2df16c5c4f185f5
|
|
| MD5 |
75d7145ea1f4c85dc13db2a9c51f9197
|
|
| BLAKE2b-256 |
a340521f7f6aa04785a19b495826f3b37a873887f630c6e91ae644d5f520ea25
|