skip to navigation
skip to content

Not Logged In

Cerberus 0.9.2

Lightweight, extensible schema and data validation tool for Python dictionaries.

Cerberus is a lightweight and extensible data validation library for Python.

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


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, Python 3.3, Python 3.4, PyPy and PyPy3.


Complete documentation is available at


Cerberus is on PyPI so all you need is:

$ pip install cerberus


Just run:

$ python test

Or you can use tox to run the tests under all supported Python versions. Make sure the required python versions are installed and run:

$ pip install tox  # first time only
$ tox


Please see the Contribution Guidelines.

File Type Py Version Uploaded on Size
Cerberus-0.9.2.tar.gz (md5) Source 2015-09-23 17KB
  • Downloads (All Versions):
  • 198 downloads in the last day
  • 4601 downloads in the last week
  • 19585 downloads in the last month