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, 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.

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for Cerberus-0.6.tar.gz
Algorithm Hash digest
SHA256 01f2b1bfcfca82dd565c97ecf29c5a5aa4fc0a06f6525eec28c28ee150a4cefb
MD5 b379e08bcd2637cca0b40f1b2a81a40e
BLAKE2b-256 7c242b9964f3e03a82e0119a08b614dfe5bd93632634e92f406b4ed5e922578f

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

This release

0.6 This release

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

0.0.2

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