Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Integration with briteverify API

Project Description

Helper for easy integration between django and service.

It supports Python2.6+, Django1.4+


$ pip install django-briteverify


In common case as you need is use BriteverifyFormMixin for your forms and specify a BRITEVERIFY_API_KEY:

# your_app/
from django import forms
from django_briteverify import BriteverifyFormMixin

class RegisterForm(BriteverifyFormMixin, forms.Form):
    email = forms.EmailField()

Set BRITEVERIFY_API_KEY as environment variable:


Or define it directly in settings


You can specify field name which be used as source for verifying:

class RegisterForm(BriteverifyFormMixin, forms.Form):
    another_email = forms.EmailField()

    EMAIL_FIELD_NAME = 'another_email'

Also you can override error messages which raised if validation didn’t pass:

class RegisterForm(BriteverifyFormMixin, forms.Form):
    error_messages = {
        'invalid_email': _('This is an invalid email address. '
                           'Maybe you mistyped?'),
        'disposable_email': _('Please provide your real email address.')


  1. Fork the django-briteverify repo on GitHub.
  2. Clone your fork locally:
$ git clone
  1. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development:
$ mkvirtualenv django-briteverify
$ cd django-briteverify/
$ python develop
  1. Create a branch for local development:
 $ git checkout -b name-of-your-bugfix-or-feature

Now you can make your changes locally.
  1. When you’re done making changes, check that your changes pass the tests, including testing other Python versions with tox:
$ pip install tox
$ tox
  1. Commit your changes and push your branch to GitHub:
$ git add .
$ git commit -m "Your detailed description of your changes."
$ git push origin name-of-your-bugfix-or-feature
  1. Submit a pull request through the GitHub website.

Release History

This version
History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(4.6 kB) Copy SHA256 Hash SHA256
Source None Nov 11, 2015

Supported By

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 Google Google Cloud Servers DreamHost DreamHost Log Hosting