A library for checking on European VAT formats
pyVat is a complete library that validates vat number formats in EU member countries. The algorithms used are described in /doc/VIES-VAT Validation Routines-v15.0.doc
Compatibility
Python >= 2.6
Installation
$ pip install vat-format-checker
Usage
from pyVat.api import Validator
validator = Validator('ATU10223006')
if validator.validate() is True:
print ("The VAT number has a valid format")
else:
print ("Invalid VAT number format for country %s" % validator.country_code)
Issues
- The Croatian format is missing the algorithm. The validations is done purely based on regular expressions.
Metadata
Release files for vat-format-checker 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vat-format-checker-0.0.4.tar.gz | 8.8 kB | Without provenance | Details for vat-format-checker-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vat_format_checker-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for vat_format_checker-0.0.4-py3-none-any.whl |
Total release size: 49.6 kB
Release files / vat-format-checker-0.0.4.tar.gz
| Download URL | vat-format-checker-0.0.4.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a19fb77d74079078825c49e363f32385e938ffdf274afc42bc08abf804ee68ee
|
|
BLAKE2b-256 checksum How to use checksums |
c82c4195d2dd3a4b122ad391b1084385372190e5213a7f21d456fdc431c9f395
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.2
|
Release files / vat_format_checker-0.0.4-py3-none-any.whl
| Download URL | vat_format_checker-0.0.4-py3-none-any.whl |
|---|---|
| Size | 40.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f37085df3e01dc57d66f6e912adeefe5c41c18166e06f376238881ee4b098ffe
|
|
BLAKE2b-256 checksum How to use checksums |
c9514276abe08c96f3fed3ebc9b521355133fd4146c2f170eb6602ef11028c60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.2
|
Security for vat-format-checker 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.