Skip to main content

Django package that handles exporting of data

Project description

Validator is a library that provides an improved handling of validation.

The following parts of validation are handled;

  • state

  • transistion


pip install etools-validator


Add validator to INSTALLED_APPS in .. code-block:: python


… ‘etools_validator’,



Use validator in views

from validator.mixins import ValidatorViewMixin

class ExampleView(ValidatorViewMixin, ListCreateAPIView):


Environment Setup

To install the necessary libraries

$ pip install -r requirements/dev.txt

Coding Standards

See PEP 8 Style Guide for Python Code for complete details on the coding standards.

To run checks on the code to ensure code is in compliance

$ flake8 .


Testing is important and tests are located in tests/ directory and can be run with;

$ coverage run test

Coverage report is viewable in build/coverage directory, and can be generated with;

$ coverage html

Compatibility Matrix

Project details

Download files

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

Source Distribution

etools-validator-0.5.1.tar.gz (23.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page