{"id":17002945,"url":"https://github.com/jleclanche/python-iso18245","last_synced_at":"2025-04-04T17:05:01.577Z","repository":{"id":40361509,"uuid":"257082319","full_name":"jleclanche/python-iso18245","owner":"jleclanche","description":"Python implementation of the ISO 18245 Merchant Category Codes database ⛺","archived":false,"fork":false,"pushed_at":"2024-11-21T11:15:32.000Z","size":75,"stargazers_count":56,"open_issues_count":2,"forks_count":22,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T16:06:36.563Z","etag":null,"topics":["banking","finance","fintech","iso","iso18245","mcc","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/iso18245/","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/jleclanche.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-04-19T19:16:26.000Z","updated_at":"2024-11-25T17:39:09.000Z","dependencies_parsed_at":"2024-04-22T15:29:07.525Z","dependency_job_id":"30660335-c8cd-4503-bea8-af8a3956e7f4","html_url":"https://github.com/jleclanche/python-iso18245","commit_stats":{"total_commits":36,"total_committers":5,"mean_commits":7.2,"dds":"0.36111111111111116","last_synced_commit":"9838cfb7a5809068e8dd5031a16db8f270e6484f"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jleclanche%2Fpython-iso18245","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jleclanche%2Fpython-iso18245/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jleclanche%2Fpython-iso18245/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jleclanche%2Fpython-iso18245/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jleclanche","download_url":"https://codeload.github.com/jleclanche/python-iso18245/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217172,"owners_count":20903008,"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":["banking","finance","fintech","iso","iso18245","mcc","python"],"created_at":"2024-10-14T04:29:25.353Z","updated_at":"2025-04-04T17:05:01.558Z","avatar_url":"https://github.com/jleclanche.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-iso18245\n\nA Python implementation of the ISO 18245 Merchant Category Codes database.\n\n## Installation\n\n- `pip install iso18245`\n\n## Usage\n\n```py\n\n\u003e\u003e\u003e import iso18245\n\u003e\u003e\u003e iso18245.get_mcc(\"5542\")\nMCC(range=MCCRange(start='5000', end='5599', description='Retail outlets', reserved=False), iso_description='Automated fuel dispensers', usda_description='Automated Fuel Dispensers', stripe_description='Automated Fuel Dispensers', stripe_code='automated_fuel_dispensers')\n\u003e\u003e\u003e iso18245.get_mcc(\"3000\")\nMCC(range=MCCRange(start='3000', end='3999', description='Reserved for private use', reserved=True), iso_description='', usda_description='UNITED AIRLINES', stripe_description='', stripe_code='')\n\u003e\u003e\u003e iso18245.get_mcc(\"3000\").usda_description\n'UNITED AIRLINES'\n\u003e\u003e\u003e iso18245.get_mcc(\"3000\").range\nMCCRange(start='3000', end='3999', description='Reserved for private use', reserved=True)\n\u003e\u003e\u003e iso18245.get_mcc(\"999999\")\nTraceback (most recent call last):\n  …\niso18245.InvalidMCC: 999999\n```\n\n## External links\n\n- [Wikipedia: ISO 18245](https://en.wikipedia.org/wiki/ISO_18245)\n- [ISO Standard 18245:2023](https://www.iso.org/standard/79450.html)\n- [AFNOR: ISO 18245](http://portailgroupe.afnor.fr/public_espacenormalisation/ISOTC68SC7/ISO%2018245.html)\n- [Stripe MCC List](https://stripe.com/docs/issuing/categories)\n- [USDA MCC List (incl. private MCCs)](https://www.dm.usda.gov/procurement/card/card_x/mcc.pdf)\n- [VISA Merchant Data Standards Manual](https://usa.visa.com/content/dam/VCOM/download/merchants/visa-merchant-data-standards-manual.pdf) ([archived](https://web.archive.org/web/20240409085635/https://usa.visa.com/content/dam/VCOM/download/merchants/visa-merchant-data-standards-manual.pdf))\n- [Mastercard Quick Reference Booklet](https://www.mastercard.us/content/dam/public/mastercardcom/na/global-site/documents/quick-reference-booklet-merchant.pdf) ([archived](https://web.archive.org/web/20240419100915/https://www.mastercard.us/content/dam/public/mastercardcom/na/global-site/documents/quick-reference-booklet-merchant.pdf))\n- [American Express Global Codes \u0026 Information Guide](https://www.americanexpress.com/content/dam/amex/us/merchant/new-merchant-specifications/GlobalCodesInfo_FINAL.pdf) ([archived](https://web.archive.org/web/20240419101013/https://www.americanexpress.com/content/dam/amex/us/merchant/new-merchant-specifications/GlobalCodesInfo_FINAL.pdf))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjleclanche%2Fpython-iso18245","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjleclanche%2Fpython-iso18245","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjleclanche%2Fpython-iso18245/lists"}