Magic the Gathering deck transformator.
Magic the Gathering deck transformator. Used for import/export of decks between different websites.
For usage help, type ./mtgtransform.py -h.
Transforming from one file to another: ` ./mtgtransform.py inputfile > outputfile ./mtgtransform.py --sideboard inputfile > outputfile_sb `
Note that sideboard transformation is performed in a separate step.
It can also take input from stdin so on OSX the content from the source site can be copied into clipboard and transformed with ` pbpaste | ./mtgtransform.py | pbcopy `
This will add the transformed deck to the clipboard so it can be pasted directly into the destination website.
Running the tests requires pytest. Install dependencies with ` pip install -r requirements.txt ` and then run tests with ` py.test `
Add setup.py for install.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size mtgtransform-0.0.4.tar.gz (2.4 kB)||File type Source||Python version None||Upload date||Hashes View|