{ "info": { "author": "Afonso Silva", "author_email": "ajcerejeira@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Intended Audience :: Developers", "Intended Audience :: Financial and Insurance Industry", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Office/Business :: Financial", "Topic :: Security :: Cryptography", "Topic :: Utilities", "Typing :: Typed" ], "description": "=============\nvat-validator\n=============\n\nPythonic VAT validation library \ud83c\udf0d\ud83d\udcb3\u2705\n\n.. image:: https://travis-ci.com/ajcerejeira/vat-validator.svg?branch=master\n :target: https://travis-ci.com/ajcerejeira/vat-validator\n :alt: Build status\n\n.. image:: https://readthedocs.org/projects/vat-validator/badge/?version=latest\n :target: https://vat-validator.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://coveralls.io/repos/github/ajcerejeira/vat-validator/badge.svg?branch=master\n :target: https://coveralls.io/github/ajcerejeira/vat-validator?branch=master\n :alt: Coverage status\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n :target: https://github.com/python/black\n :alt: Code style: black\n\n.. image:: https://img.shields.io/github/license/ajcerejeira/vat-validator.svg\n :target: https://github.com/ajcerejeira/vat-validator/blob/master/LICENSE\n :alt: License: MIT\n\n.. image:: https://img.shields.io/pypi/v/vat-validator.svg\n :target: https://pypi.org/project/vat-validator/\n :alt: PyPI\n\nFeatures\n========\n\n- Offline VAT code validation using country specific regular expressions and\n checksum algorithms;\n- Online validation for European Union VAT codes using VIES_ webservice;\n- VAT code sanitization;\n- Fully annotated with type hints, for a better IDE and ``mypy`` development\n experience;\n- Tested and validated against 1697 different VAT codes.\n\n.. _VIES: http://ec.europa.eu/taxation_customs/vies/\n\n\n===============\nGetting started\n===============\n\n.. begin-getting-started\n\nInstalation\n===========\n\n``vat-validator`` is distributed as standard pip library, and can be installed\nby running:\n\n::\n\n pip install vat-validator\n\nTo install the latest development version directly from git:\n\n::\n\n pip install git+git://github.com/ajcerejeira/vat-validator.git\n\n\nUsage\n=====\n\n>>> from vat_validator import validate_vat, countries_where_vat_is_valid\n>>> validate_vat('PT', 'PT 502 011 378')\nTrue\n>>> countries_where_vat_is_valid('502 011 378')\n['PT']\n\n>>> from vat_validator.vies import check_vat\n>>> check_vat('PT', '502 011 378')\nCheckVATResult(country_code='PT', vat='502011378', request_date=datetime.date(2019, 6, 8), valid=True, name='UNIVERSIDADE DO MINHO', address='LG DO PACO\\nBRAGA\\n4700-320 BRAGA')\n\n.. end-getting-started\n\n\n============\nContributing\n============\n\nPull requests are welcome! Please check the CONTRIBUTING_ file for contribution guidelines.\n\n.. _CONTRIBUTING: CONTRIBUTING.rst\n\n\n=======\nLicense\n=======\n\nThis software is distrubuted under MIT license. See the LICENSE_ file for details.\n\n.. _LICENSE: LICENSE", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ajcerejeira/vatval", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "vat-validator", "package_url": "https://pypi.org/project/vat-validator/", "platform": "", "project_url": "https://pypi.org/project/vat-validator/", "project_urls": { "Homepage": "https://github.com/ajcerejeira/vatval" }, "release_url": "https://pypi.org/project/vat-validator/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "VAT validation library", "version": "0.1.1" }, "last_serial": 5396466, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "4e5c8e18334c6e97da2bed4479f55590", "sha256": "42ca9edc72be5c654b68924d8f19d2c77e8934365ccdfc92b8fb8d135d989a0b" }, "downloads": -1, "filename": "vat-validator-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4e5c8e18334c6e97da2bed4479f55590", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11839, "upload_time": "2019-06-08T14:36:58", "url": "https://files.pythonhosted.org/packages/93/40/8a674f82befc6eb327830a9cea3486514dfc9c826e294841ad18d782f9b6/vat-validator-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "bde97a984cad12e35ba803902e737afb", "sha256": "4eca6d1b6b187dd71dc980a5c8c6488b028c4c539c8c82c1fcbb3e76e0f86543" }, "downloads": -1, "filename": "vat-validator-0.1.1.tar.gz", "has_sig": false, "md5_digest": "bde97a984cad12e35ba803902e737afb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12049, "upload_time": "2019-06-13T15:40:38", "url": "https://files.pythonhosted.org/packages/80/62/58a5ab401ec71da73a4004e37a356cfff0659615251ecb4815467c307d68/vat-validator-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bde97a984cad12e35ba803902e737afb", "sha256": "4eca6d1b6b187dd71dc980a5c8c6488b028c4c539c8c82c1fcbb3e76e0f86543" }, "downloads": -1, "filename": "vat-validator-0.1.1.tar.gz", "has_sig": false, "md5_digest": "bde97a984cad12e35ba803902e737afb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12049, "upload_time": "2019-06-13T15:40:38", "url": "https://files.pythonhosted.org/packages/80/62/58a5ab401ec71da73a4004e37a356cfff0659615251ecb4815467c307d68/vat-validator-0.1.1.tar.gz" } ] }