{ "info": { "author": "Pedro Silva", "author_email": "psilva+git@pedrosilva.pt", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only", "Topic :: Games/Entertainment", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing :: Filters", "Topic :: Utilities" ], "description": "mtgdeck\n=======\n\n.. image:: https://travis-ci.org/pedros/mtgdeck.svg?branch=master\n :target: https://travis-ci.org/pedros/mtgdeck\n :alt: Linux builds passing\n\n.. image:: https://ci.appveyor.com/api/projects/status/1afabyk0mdbrwsd7?svg=true\n :target: https://ci.appveyor.com/project/pedros/mtgdeck\n :alt: Windows builds passing\n\n.. image:: https://codecov.io/gh/pedros/mtgdeck/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/pedros/mtgdeck\n :alt: Coverage\n\n.. image:: https://api.codacy.com/project/badge/Grade/724c2300463b4f639bf406e1bfe1fe10\n :target: https://www.codacy.com/app/pedros/mtgdeck?utm_source=github.com&utm_medium=referral&utm_content=pedros/mtgdeck&utm_campaign=Badge_Grade\n :alt: Grade\n\n.. image:: https://api.codeclimate.com/v1/badges/67254f9c83a1eecb0598/maintainability\n :target: https://codeclimate.com/github/pedros/mtgdeck/maintainability\n :alt: Maintainability\n\n.. image:: http://img.shields.io/pypi/v/mtgdeck.svg\n :target: https://pypi.python.org/pypi/mtgdeck\n :alt: PyPI version \n\nMTG decklist decoder and encoder library and application\n\nWhat is it?\n-----------\n\n``mtgdeck`` is an application and library for decoding and encoding various\ndecklist formats for Magic: The Gathering.\n\nUsage\n-----\n\nAutomatically determine input format in standard input and encode using default\nencoder (text) to standard output:\n\n.. code:: bash\n\n mtgdeck < input.mws > output.txt\n\nThe same as above, but from Python:\n\n.. code-block:: python\n\n import sys\n import mtgdeck\n mtgdeck.dump(mtgdeck.load(sys.stdin), sys.stdout)\n\nDecode a Cockatrice decklist and encode to OCTGN, specifying files:\n\n.. code:: bash\n\n mtgdeck -d cod -e octgn -i input.cod -o output.o8d\n\nAnd in Python:\n\n.. code-block:: python\n\n import mtgdeck\n src = open('input.cod')\n target = open('output.o8d', 'w')\n decklist = mtgdeck.load(src, cls=mtgdeck.CockatriceDecoder)\n mtgdeck.dump(decklist, target, cls=mtgdeck.OCTGNEncoder)\n\nFormats\n-------\n\n``mtgdeck`` currently supports the following formats:\n\n:Magic online:\n ``text`` (``.txt`` and ``.dec``)\n:Magic Workstation:\n ``mws`` (``.mwDeck``)\n:OCTGN:\n ``o8d`` (``.o8d``)\n:Cockatrice:\n ``cod`` (``.cod``)\n\nThe default decoder is ``auto``: it tries to infer the correct decklist format.\nThe default encoder is ``text``.\n\nInstallation\n------------\n\n.. code-block:: bash\n\n pip install mtgdeck\n mtgdeck --help # or python -m mtgdeck --help\n\nContributing\n------------\n\nSee the `Contribution guidelines `_ file.\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/pedros/mtgdeck/archive/0.2.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pedros/mtgdeck", "keywords": "magic-the-gathering", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "mtgdeck", "package_url": "https://pypi.org/project/mtgdeck/", "platform": "", "project_url": "https://pypi.org/project/mtgdeck/", "project_urls": { "Download": "https://github.com/pedros/mtgdeck/archive/0.2.0.tar.gz", "Homepage": "https://github.com/pedros/mtgdeck" }, "release_url": "https://pypi.org/project/mtgdeck/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "MTG deck list decoder and encoder library and application", "version": "0.2.0" }, "last_serial": 3451977, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "7fa3d5844177811ed9d732acd6b30d71", "sha256": "b638583caf4889b20ab08ff820b59ed565823fa23801e5d6423da4b3d593afba" }, "downloads": -1, "filename": "mtgdeck-0.0.1.tar.gz", "has_sig": false, "md5_digest": "7fa3d5844177811ed9d732acd6b30d71", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5780, "upload_time": "2017-12-06T13:44:11", "url": "https://files.pythonhosted.org/packages/cd/8c/9021937c8fba3980f36041ef930193e280a4ebe01d29a31cd724207a7966/mtgdeck-0.0.1.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "74cc0c8c704483ffe894e9e874fcc71d", "sha256": "9efef11dfc399f6305b34d4b7662d5d4aa9d3918872bdcfe03f29cc37b298e2a" }, "downloads": -1, "filename": "mtgdeck-0.0.3.tar.gz", "has_sig": false, "md5_digest": "74cc0c8c704483ffe894e9e874fcc71d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4894, "upload_time": "2017-12-12T10:20:15", "url": "https://files.pythonhosted.org/packages/c0/8c/60915e9cddaff75fe44caa8b0e011530bbf63215e660f7020d2f4788557a/mtgdeck-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "d698c9705a71ffe356503632cee94919", "sha256": "982b6e44d55428ad779041d71a3458a479353a7ff47955ffb7f0b2251ed88df5" }, "downloads": -1, "filename": "mtgdeck-0.0.4.tar.gz", "has_sig": false, "md5_digest": "d698c9705a71ffe356503632cee94919", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4917, "upload_time": "2017-12-12T14:55:32", "url": "https://files.pythonhosted.org/packages/12/21/7e6786364ab4eee21aa9fe70b1a11aaf890e0f501bdb15f522f3a593d005/mtgdeck-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "c5185992508a34414e4c57c9996dc1ba", "sha256": "3e6d269f296e2db0e02fc61f9fb582c3fc8278af944760bbf256f4ef2199f081" }, "downloads": -1, "filename": "mtgdeck-0.0.5.tar.gz", "has_sig": false, "md5_digest": "c5185992508a34414e4c57c9996dc1ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5210, "upload_time": "2017-12-12T21:51:58", "url": "https://files.pythonhosted.org/packages/71/78/12d786a202e010b21c01e27bc6a62d393e84a937520ff25c51ffbb86a4db/mtgdeck-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "817f885b6f9ca112a5285835ca6176d6", "sha256": "4cfaee29b4419bfe99d5fde11fe43751b5b12a34b62b8946371695e963242657" }, "downloads": -1, "filename": "mtgdeck-0.0.6.tar.gz", "has_sig": false, "md5_digest": "817f885b6f9ca112a5285835ca6176d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5157, "upload_time": "2017-12-12T22:52:23", "url": "https://files.pythonhosted.org/packages/76/3c/5f66e569c84f6d2f1ec9c50e2037861f26d604cc53eac1b53517b497be6b/mtgdeck-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "5a8aab3aa9e29e7205285580e2e3f19d", "sha256": "dac52617cb784922ce68c6938e10e5c2162d31c113e3cb5d3726f1bdfce9e7a5" }, "downloads": -1, "filename": "mtgdeck-0.0.7.tar.gz", "has_sig": false, "md5_digest": "5a8aab3aa9e29e7205285580e2e3f19d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5589, "upload_time": "2017-12-16T12:02:09", "url": "https://files.pythonhosted.org/packages/43/b4/e638cfd6484ae0c0a2e4748059e393af220cdb0f661f6637cadedaa75329/mtgdeck-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "1fe05763dba654cf6b02531c08e1f596", "sha256": "1d8c1dd4be2f844a7f011279586fc54212462f793f3e31f794771cecb7b62fdd" }, "downloads": -1, "filename": "mtgdeck-0.0.8.tar.gz", "has_sig": false, "md5_digest": "1fe05763dba654cf6b02531c08e1f596", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5734, "upload_time": "2017-12-21T21:59:32", "url": "https://files.pythonhosted.org/packages/33/32/3716a107a2cd20ad3ecbe4d07ede809aeb34881c4582a3bc0f42c47d91fd/mtgdeck-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "ff3da84035d59bbd3f97e67c7663882f", "sha256": "110576e1a5bcabe75edbdf8226dc939a6934dcc58acd13bf748770b2f837669b" }, "downloads": -1, "filename": "mtgdeck-0.0.9.tar.gz", "has_sig": false, "md5_digest": "ff3da84035d59bbd3f97e67c7663882f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6093, "upload_time": "2017-12-23T11:00:19", "url": "https://files.pythonhosted.org/packages/24/34/03ac040648afae3cf14fd243f65d4bd18dca822a24d1f84448362b36077b/mtgdeck-0.0.9.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "34d216fd33aaf75724a19e121b1647bf", "sha256": "b5eb99b1225ddb42811fa10dd50cb1abcd5521b8059b80799db9bddd9e1b4302" }, "downloads": -1, "filename": "mtgdeck-0.1.0.tar.gz", "has_sig": false, "md5_digest": "34d216fd33aaf75724a19e121b1647bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6703, "upload_time": "2017-12-23T22:12:44", "url": "https://files.pythonhosted.org/packages/6a/1c/d54219055828934eeca4ca666b6d0842962e7801737900dd92998e259cd1/mtgdeck-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "51a0b948debff7c88404bf277360df06", "sha256": "9d2e4f8bb572d400023e018a86dc545914471a72ffb2361a5f6c17c1d8228b70" }, "downloads": -1, "filename": "mtgdeck-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "51a0b948debff7c88404bf277360df06", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 11598, "upload_time": "2017-12-30T20:12:48", "url": "https://files.pythonhosted.org/packages/bd/67/f38bd07815d595d7acf81ba0fbf0d673ba8b898a49d904b254089638402d/mtgdeck-0.2.0-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "51a0b948debff7c88404bf277360df06", "sha256": "9d2e4f8bb572d400023e018a86dc545914471a72ffb2361a5f6c17c1d8228b70" }, "downloads": -1, "filename": "mtgdeck-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "51a0b948debff7c88404bf277360df06", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 11598, "upload_time": "2017-12-30T20:12:48", "url": "https://files.pythonhosted.org/packages/bd/67/f38bd07815d595d7acf81ba0fbf0d673ba8b898a49d904b254089638402d/mtgdeck-0.2.0-py3-none-any.whl" } ] }