Skip to main content

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

So far it only supports moving decks from http://mtgtop8.com to http://tappedout.net.

Installation

Install the extension with one of the following commands:

$ easy_install mtgtransform

or alternatively if you have pip installed:

$ pip install mtgtransform

Usage

Type mtgtransform -h for usage help.

Examples

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.

Development

Testing

Running the tests during development requires pytest. Install dependencies with

$ pip install -r requirements.txt

and then run tests with

$ py.test

Release files for mtgtransform 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mtgtransform 0.0.7
File Size Uploaded
mtgtransform-0.0.7.tar.gz 2.5 kB Details

Release files / mtgtransform-0.0.7.tar.gz

Download URL mtgtransform-0.0.7.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0365e5a56d3131495e06463211cec9d54c5c6e05cd89a02a7a00907eec3973a4
BLAKE2b-256 checksum
How to use checksums
9e1cb48e33a06def2f9e6a6d07e39c8098d5789eb0c9a197256157754d5242d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.7 This release

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page