skip to navigation
skip to content

Not Logged In

Cerberus 0.6

Extensible validation for Python dictionaries.

https://secure.travis-ci.org/nicolaiarocci/cerberus.png?branch=master

Cerberus is an ISC Licensed validation tool for Python dictionaries.

>>> v = Validator({'name': {'type': 'string'}})
>>> v.validate({'name': 'john doe'})
True

Features

Cerberus provides type checking and other base functionality out of the box and is designed to be non-blocking and easily extensible, allowing for custom validation. It has no dependancies and is thoroughly tested under Python 2.6, Python 2.7 and Python 3.3.

Documentation

Complete documentation is available at http://cerberus.readthedocs.org

Installation

Cerberus is on PyPI so all you need is:

pip install cerberus

Testing

Just run:

python setup.py test

Contributing

Please see the Contribution Guidelines.

 
File Type Py Version Uploaded on Size
Cerberus-0.6.tar.gz (md5) Source 2014-02-10 8KB
  • Downloads (All Versions):
  • 181 downloads in the last day
  • 693 downloads in the last week
  • 3540 downloads in the last month