Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Magic the Gathering deck transformator.

Project Description

Magic the Gathering deck transformator. Used for import/export of decks between different websites.

So far it only supports moving decks from to


Install the extension with one of the following commands:

$ easy_install mtgtransform

or alternatively if you have pip installed:

$ pip install mtgtransform


Type mtgtransform -h for usage help.


Transforming from one file to another:

$ mtgtransform inputfile > outputfile
$ mtgtransform --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 | pbcopy

This will add the transformed deck to the clipboard so it can be pasted directly into the destination website.



Running the tests during development requires pytest. Install dependencies with

$ pip install -r requirements.txt

and then run tests with

$ py.test
Release History

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mtgtransform-0.0.7.tar.gz (2.5 kB) Copy SHA256 Checksum SHA256 Source Sep 6, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting