CLI tool for printing MTG proxy sheets from decklists
Project description
mtg-print
CLI tool for printing Magic: The Gathering proxy sheets. Parses decklists, fetches card images from Scryfall, and generates printable PDFs.
Installation
pipx install mtg-print
Or run directly:
uvx mtg-print --help
Quick start
mtg-print build docs/example.txt --interactive
Usage
Build a PDF from a decklist
mtg-print build deck.txt
mtg-print build deck.txt -o output.pdf
Basic lands are automatically filtered. Cards default to their oldest printing.
Interactive art selection
mtg-print build deck.txt --interactive
Displays available printings with thumbnails and lets you choose. Selections are saved for future builds.
Override specific card art
mtg-print build deck.txt -s "Swords to Plowshares=ICE"
Search card printings
mtg-print search "Sylvan Library"
mtg-print search "Elvish Reclaimer" --preview
Manage preferences
mtg-print prefs # View saved art preferences
mtg-print prefs --clear # Clear all preferences
Manage cache
mtg-print cache --stats # Show cache size
mtg-print cache --clear # Clear cached images
Supported decklist formats
- Moxfield / MTG Arena:
4 Elvish Reclaimer (MH2) 166 - MTGGoldfish:
4 Elvish Reclaimer <mh2> - DeckedBuilder:
4 Elvish Reclaimer - Manabox:
1 Card Name (SET) 123 *F* - TopDecked:
4 Spyglass Siren
Development
git clone https://github.com/jamiemc1/mtg-print.git
cd mtg-print
uv sync --dev
uv run pytest
uv run pre-commit run --all-files
Card images © 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
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 mtg_print-0.1.1.tar.gz.
File metadata
- Download URL: mtg_print-0.1.1.tar.gz
- Upload date:
- Size: 83.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45bd885455674fe1093d880a2f4268f0b9d92a14218d3f8974a87fd7cb8fc70c
|
|
| MD5 |
1ed351701ba05e420f9da76d26b704da
|
|
| BLAKE2b-256 |
0159ee7d1f80da068a094b4dbc9131a29e5ecc05d8ab4587f8b63cdd225b12ab
|
File details
Details for the file mtg_print-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mtg_print-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc4a76b1ec1750ef9d9d0daac56db16b3f5e9a12046594d282933fde7eae866f
|
|
| MD5 |
f1342463c405faf1abbbc8ea5a65db66
|
|
| BLAKE2b-256 |
8657eb3fa5bd327538ac5e150147ed2568b1a125ca7b142bb672555a4bee8c90
|