{"id":19115231,"url":"https://github.com/davidfischer/mtg-printable-set-label-generator","last_synced_at":"2025-10-07T20:35:09.053Z","repository":{"id":43067848,"uuid":"232248169","full_name":"davidfischer/mtg-printable-set-label-generator","owner":"davidfischer","description":"Magic: the Gathering Printable Set Label Generator","archived":false,"fork":false,"pushed_at":"2024-05-11T12:28:31.000Z","size":308,"stargazers_count":45,"open_issues_count":3,"forks_count":18,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-07-02T20:04:32.706Z","etag":null,"topics":["labels-generator","magic-the-gathering","organization","printable"],"latest_commit_sha":null,"homepage":"https://mtg-label-generator.fly.dev","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidfischer.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2020-01-07T05:19:14.000Z","updated_at":"2025-06-22T06:58:55.000Z","dependencies_parsed_at":"2024-05-11T13:40:12.372Z","dependency_job_id":null,"html_url":"https://github.com/davidfischer/mtg-printable-set-label-generator","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/davidfischer/mtg-printable-set-label-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfischer%2Fmtg-printable-set-label-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfischer%2Fmtg-printable-set-label-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfischer%2Fmtg-printable-set-label-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfischer%2Fmtg-printable-set-label-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidfischer","download_url":"https://codeload.github.com/davidfischer/mtg-printable-set-label-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfischer%2Fmtg-printable-set-label-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278841130,"owners_count":26055287,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["labels-generator","magic-the-gathering","organization","printable"],"created_at":"2024-11-09T04:45:50.781Z","updated_at":"2025-10-07T20:35:09.021Z","avatar_url":"https://github.com/davidfischer.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"Magic: the Gathering Printable Set Label Generator\n==================================================\n\nThis is a small script for generating Magic: the Gathering (MTG) printable set labels\nin order to organize a collection of cards.\nThe code is powered by the [Scryfall API][scryfall-api].\nAs soon as a new set is up on Scryfall,\nthe label for that set can be generated and printed.\n\n* Print and cut out the labels\n* Attach set labels to [plastic dividers][plastic-dividers]\n\n\u003cimg src=\"readme-img/organized-cards.jpg\"\u003e\n\n[scryfall-api]: https://scryfall.com/docs/api/sets\n[plastic-dividers]: https://www.amazon.com/dp/B00S3FF1PI/\n\n\n## Usage\n\nIf you're just interested in downloading and printing these set labels,\ncheck out the [web frontend](https://mtg-label-generator.fly.dev/)\n([code](https://github.com/davidfischer/mtg-printable-set-label-frontend))\nand generate your own labels.\n\n\n### Advanced\n\nIf you want to further customize things, read on!\n\nThe script `generator.py` is a small Python script to generate the printable labels.\nIt requires Python 3.6+ and has a few dependencies.\n\n\n    pip install -r requirements.txt  # Install dependencies\n    python mtglabels/generator.py        # Creates SVG \u0026 PDF files in output/\n\nBy default, this will create SVG \u0026 PDF files.\nThe SVG files are vector image files that can be customized further.\nThe PDF files are ready to print.\n\nThe SVGs use the free fonts [EB Garamond][garamond] bold and [Source Sans Pro][source-sans] regular.\n\n[garamond]: https://fonts.google.com/specimen/EB+Garamond\n[source-sans]: https://fonts.google.com/specimen/Source+Sans+Pro\n\n\n### Customizing\n\nA lot of features can be customized by changing constants at the top of `generator.py`.\nFor example, sets can be excluded one-by-one or in groups by type or sets can be renamed.\n\nThe labels are designed for US Letter paper but this can be customized:\n\n    python mtglabels/generator.py --paper-size=a4   # Use A4 paper size\n    python mtglabels/generator.py --help   # Show all options\n\nYou can generate labels for specific sets as well:\n\n    python mtglabels/generator.py lea mh1 mh2 neo\n\n\nYou can change how the labels are actually displayed and rendered by customizing `templates/labels.svg`.\nIf you change the fonts, you may also need to resize things to fit.\n\n\n### Tips for printing SVGs\n\nIf you're just using the default PDFs, you probably won't need this.\nHowever, if you are customizing the SVGs and printing them, this section is for you.\n\nThe output SVGs are precisely sized for a sheet of paper (US Letter by default).\nMake sure while printing in your browser or otherwise to set the margins to None.\n\n\u003cimg src=\"readme-img/browser-printing.png\"\u003e\n\nYou can also \"print\" to a PDF.\n\n\n## License\n\nThe code is available at [GitHub][home] under the [MIT license][license].\n\nSome data such as set icons are unofficial Fan Content permitted under the Wizards of the Coast Fan Content Policy\nand is copyright Wizards of the Coast, LLC, a subsidiary of Hasbro, Inc.\nThis code is not produced by, endorsed by, supported by, or affiliated with Wizards of the Coast.\n\n[home]: https://github.com/davidfischer/mtg-printable-set-label-generator\n[license]: https://opensource.org/licenses/MIT\n\n\n## Credits\n\nSpecial thanks goes to the users behind other printable set labels\nsuch as those found [here][previous-set-labels].\nUsing these fantastic labels definitely provided inspiration and direction\nand made me want something more customizable and updatable.\n\n[previous-set-labels]: https://github.com/xsilium/MTG-Printable-Labels\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidfischer%2Fmtg-printable-set-label-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidfischer%2Fmtg-printable-set-label-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidfischer%2Fmtg-printable-set-label-generator/lists"}