{"id":15665815,"url":"https://github.com/luziferius/mtgdeckconverter","last_synced_at":"2025-03-27T05:13:54.796Z","repository":{"id":229087374,"uuid":"226097474","full_name":"luziferius/MTGDeckConverter","owner":"luziferius","description":"Convert digital Magic The Gathering (R) deck lists between formats.","archived":false,"fork":false,"pushed_at":"2020-01-16T14:45:17.000Z","size":86,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T17:53:43.678Z","etag":null,"topics":["conversion","mtg","mtg-deck","python3"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luziferius.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-12-05T12:29:17.000Z","updated_at":"2024-06-01T18:44:16.000Z","dependencies_parsed_at":"2024-03-22T01:24:44.891Z","dependency_job_id":"fa7b2c3c-82eb-46e0-ac86-4dfe6ec538aa","html_url":"https://github.com/luziferius/MTGDeckConverter","commit_stats":null,"previous_names":["luziferius/mtgdeckconverter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luziferius%2FMTGDeckConverter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luziferius%2FMTGDeckConverter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luziferius%2FMTGDeckConverter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luziferius%2FMTGDeckConverter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luziferius","download_url":"https://codeload.github.com/luziferius/MTGDeckConverter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245785825,"owners_count":20671634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["conversion","mtg","mtg-deck","python3"],"created_at":"2024-10-03T13:54:51.956Z","updated_at":"2025-03-27T05:13:54.778Z","avatar_url":"https://github.com/luziferius.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"MTGDeckConverter\n================\n\nConvert digital Magic The Gathering (R) deck lists between formats.\nPlease note that the conversion is lossy and may require online access, as not all formats provide all necessary\ninformation to perform the conversion locally. This program relies on the scryfall.com API data\nto perform information lookup, if needed.\n\nLimitations\n-----------\n\nThere are certain limitations,\nwhen one deck file format supports features that the other source or target format does not support.\n\nFor example, an XMage deck list requires the collector numbers of all cards in the deck,\nwhich a TappedOut CSV export does not provide. Thus, to provide a conversion, the required numbers have to be looked up\nusing an additional card database as the data source.\nOn the other hand, XMage deck lists do not support TappedOut custom card categories, card language,\ngrading/card quality, foil state, and certain deck configurations, like Commander/Oathbreaker decks with sideboards.\nThese features will be *lost* during the conversion.\n\nIn the other direction, XMage saves a fully manual deck layout with rows and columns of card stacks in the editor,\nwhich TappedOut does not support. Thus the manual card arrangement will be lost when converting from XMage to TappedOut.\n\nSupported formats\n-----------------\n\nThis section lists the currently supported deck formats.\nBeware: Currently, as long as the Scryfall integration is missing, deck conversions are incomplete.\n\nInput formats\n+++++++++++++\n\nThese deck formats can be read:\n\n- CSV files exported from https://tappedout.net\n\nOutput formats\n++++++++++++++\n\nThese deck formats can be written:\n\n- `XMage \u003chttp://xmage.de/\u003e`_ deck lists\n\n\nRequirements\n------------\n\n- Python 3.7 or newer (This program uses features added in 3.7, so earlier versions are definitely unsupported.)\n- ``requests`` (`https://pypi.org/project/requests/ \u003chttps://pypi.org/project/requests/\u003e`_)\n\nInstall\n-------\n\nAt some point in the future, you’ll be able to install from PyPI using :code:`pip3 install MTGDeckConverter`\n(NOTE: This program is currently NOT published on PyPI.\nThis will work at some point in the future, when this note disappears.)\n\nAlternatively, to install the latest version from a local repository checkout,\nopen a terminal at the root level of your checkout (contains ``setup.py`` and this README) and run:\n:code:`pip3 install .` (Note the dot indicating the current directory).\n\nAs a third alternative, you can run the program directly from the repository checkout without installation.\nThe repository contains a simple runner script (named ``MTGDeckConverter-runner.py``) that can be used for this purpose.\n\nCurrently, there is no setup.exe or directly executable Python bundle for Windows platforms.\n\nUsage\n-----\n\nCurrently, there is no main application.\nYou can explore what is implemented by importing the project as a Python library.\nLater, you’ll be able to run this as a program by executing ``MTGDeckConverter``.\n\nContributing\n------------\n\nIf you want to contribute, pull requests that fix issues or add additional input or output formats are welcome.\nJust open a PR on GitHub to discuss the additions.\n\nRunning the tests\n+++++++++++++++++\n\nRunning the unit test suite is integrated into setup.py.\nSo to run the tests, execute :code:`python3 setup.py test` from the git checkout root directory.\n\nThe tests require:\n\n- `pytest \u003chttps://pypi.org/project/pytest/\u003e`_\n- `PyHamcrest \u003chttps://pypi.org/project/PyHamcrest/\u003e`_\n- `pyfakefs \u003chttps://pypi.org/project/pyfakefs/\u003e`_\n\nAbout\n-----\n\nCopyright (C) 2019, Thomas Hess\n\nThis program is licensed under the GNU GENERAL PUBLIC LICENSE Version 3.\nSee the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluziferius%2Fmtgdeckconverter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluziferius%2Fmtgdeckconverter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluziferius%2Fmtgdeckconverter/lists"}