Skip to main content

Extensible validation for Python dictionaries.

Project description

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.

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

Cerberus-0.1.0.tar.gz (7.8 kB view details)

Uploaded Source

File details

Details for the file Cerberus-0.1.0.tar.gz.

File metadata

  • Download URL: Cerberus-0.1.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Cerberus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dee366f6ae6b697a7b511a3378abde28c67c007a9ef1b998e5c52f69c112dd91
MD5 c012c7cd6537f4f61f25a6bfa01a44e0
BLAKE2b-256 efbab552d30ff336340b501f3e117382d7cb2c70b6ccc01c3f4c54049f37bffe

See more details on using hashes here.

Supported by

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