This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A Django validator that validates European VAT numbers

Project Description

A Django validator that validates European VAT numbers

Documentation

The full documentation is at https://django-vatno-validator.readthedocs.org.

Quickstart

Install vatno-validator:

pip install django-vatno-validator

Then use it in a project:

from django.db import models
from vatno_validator.validators import VATNoValidator

class MyModel(models.Model):
    vat_no = models.CharField(validators=[VATNoValidator(allowed_countries=[
        'DE',
        'AT',
        'GB',
    ])])

Features

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements-text.txt
(myenv) $ python runtests.py

Credits

Tools used in rendering this package:

History

0.1.1 (2015-12-17)

  • Corrected PyPI package name

0.1.0 (2015-12-17)

  • First release on PyPI.
Release History

Release History

This version
History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_vatno_validator-0.1.1-py2.py3-none-any.whl (5.4 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Dec 17, 2015
django-vatno-validator-0.1.1.tar.gz (5.9 kB) Copy SHA256 Checksum SHA256 Source Dec 17, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting