movanelli / python-mtga

MTGA set data & tooling for python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python MTGA

MTGA tools & set data for python. Generated with MTGJSON and scryfall, original MTGA grpId's collected by Fugi & Spencatro.

Installation

pip install mtga

or

python setup.py install

Usage

from mtga.set_data import all_mtga_cards
print(all_mtga_cards.find_one("63773"))
# <Card: 'Torrential Gearhulk' ['Blue'] KLD 63773>

Deploying

Because I always forget:

python setup.py sdist bdist_wheel
twine upload dist/MTGA-<version>*

About

MTGA set data & tooling for python

License:MIT License


Languages

Language:Python 100.0%