Magic: the Gathering deckstats
Project description
mtg-deckstats
How to install
pip install mtg-deckstats
Quick Start
Generate a deckstats report using the following steps:
import mtg_deckstats
report = mtg_deckstats.compute('<decklist url>')
print(report)
To speed things up, you can also compute reports with a pre-generated cache using the following steps:
import mtg_deckstats
cache = mtg_deckstats.pre_cache()
report_1 = mtg_deckstats.compute('<decklist url 1>', data=cache)
print(report_1)
report_2 = mtg_deckstats.compute('<decklist url 2>', data=cache)
print(report_2)
Supported deckbuilding websites
Internally mtg_deckstats
relies on mtg_parser
and thus, supports the following deckbuilding websites:
- aetherhub.com
- archidekt.com
- deckstats.net
- moxfield.com
- mtggoldfish.com
- scryfall.com
- tappedout.net
- tcgplayer.com
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
mtg_deckstats-0.0.1a4.tar.gz
(9.8 kB
view hashes)
Built Distribution
Close
Hashes for mtg_deckstats-0.0.1a4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c87788d1faa3cc82bf056dd95970fb06a88c4a7bc9e1906e840bbf82f3de9d5 |
|
MD5 | 8613e8d1f44b08c8d9906f010ef16c98 |
|
BLAKE2b-256 | d5fce3339552d96d5284694b91e4fa08c9a89223bdc9fb726c33233c5591504a |