Metadata-Version: 2.4
Name: entirius-django-vat-validator
Version: 2.0.0
Summary: VAT number validation Django module with pluggable providers
Project-URL: Repository, https://github.com/entirius/entirius-django-vat-validator
Author: Entirius
License-Expression: MPL-2.0
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: django>=4.2.2
Requires-Dist: entirius-django-regional>=2.0.0
Requires-Dist: entirius-django-utils>=2.0.0
Requires-Dist: entirius-py-process-logger>=2.0.0
Requires-Dist: marshmallow-dataclass>=8.5
Provides-Extra: dev
Requires-Dist: pre-commit; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Provides-Extra: test
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-django; extra == 'test'
Description-Content-Type: text/markdown

# django-vat-validator

VAT number validation for Django — pluggable providers (GUS GOV, REGON, VIES) with per-channel
and per-country fallback configuration.

## Installation

```shell
pip install entirius-django-vat-validator
```

Add the app to your project:

```python
INSTALLED_APPS = [
    ...
    "django_regional",
    "django_vat_validator",
]
```

Optional providers are separate packages resolved lazily at validation time — a missing provider
logs a warning and falls through instead of crashing.

## Development

```shell
make install     # sync dependencies (uv)
make check       # lint + format check (ruff)
make test        # test suite (pytest + pytest-django)
```

Development and agent instructions: [AGENTS.md](AGENTS.md).

## License

Mozilla Public License 2.0 — see [LICENSE](LICENSE).
