Skip to main content
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 and 2.7. Support for Python 3.x is planned as well.

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

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.0.2.tar.gz (6.7 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for Cerberus-0.0.2.tar.gz
Algorithm Hash digest
SHA256 96f67c4a1d9127ad9b0e97e6992b863dddf477225f1107f4e29c796c08696db9
MD5 0e4baf69fab7a7b8c99909e2e2e9ee7f
BLAKE2b-256 3fcd664766ed3cd92c5d72471aa6a60f7b206491fe79495e4e799f56cfd4fb81

See more details on using hashes here.

Release history Release notifications | RSS feed

1.3.8

2 files

1.3.7

2 files

1.3.6

2 files

1.3.5

2 files

1.3.4

1 file

1.3.3

2 files

1.3.2

1 file

1.3.1

1 file

1.3

1 file

1.2

1 file

1.1

1 file

1.0.1

1 file

0.9.2

1 file

0.9.1

1 file

0.9

1 file

0.8.1

1 file

0.8

1 file

0.7.2

1 file

0.7.1

1 file

0.7

1 file

0.6

1 file

0.5

1 file

0.4.0

1 file

0.3.0

1 file

0.2.0

1 file

0.1.0

1 file

0.0.3

1 file

This release

0.0.2 This release

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page