freshcrate
Skin:/
Home > Developer Tools > cerberus

cerberus

Lightweight, extensible schema and data validation tool for Pythondictionaries.

Why this rank:Strong adoptionRelease freshnessHealthy release cadence

Description

Cerberus |latest-version| ========================= |python-support| |black| Cerberus is a lightweight and extensible data validation library for Python. .. code-block:: python >>> 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 and widely extensible, allowing for custom validation. It has no dependencies, but has the potential to become yours. Versioning & Interpreter support -------------------------------- Starting with Cerberus 1.2, it is maintained according to `semantic versioning`_. So, a major release sheds off the old and defines a space for the new, minor releases ship further new features and improvements (you know the drill, new bugs are inevitable too), and micro releases polish a definite amount of features to glory. We intend to test Cerberus against all CPython interpreters at least until half a year after their `end of life`_ and against the most recent PyPy interpreter as a requirement for a release. If you still need to use it with a potential security hole in your setup, it should most probably work with the latest minor version branch from the time when the interpreter was still tested. Subsequent minor versions have good chances as well. In any case, you are advised to run the contributed test suite on your target system. Documentation ------------- Complete documentation is available at http://docs.python-cerberus.org Installation ------------ Cerberus is on PyPI_, so all you need to do is: .. code-block:: console $ pip install cerberus Testing ------- Just run: .. code-block:: console $ python setup.py 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: .. code-block:: console $ pip install tox # first time only $ tox Contributing ------------ Please see the `Contribution Guidelines`_. Copyright --------- Cerberus is an open source project by `Nicola Iarocci`_. See the license_ file for more information. .. _Contribution Guidelines: https://github.com/pyeve/cerberus/blob/1.3.x/CONTRIBUTING.rst .. _end of life: https://devguide.python.org/#status-of-python-branches .. _license: https://github.com/pyeve/cerberus/blob/1.3.x/LICENSE .. _Nicola Iarocci: https://nicolaiarocci.com/ .. _PyPI: https://pypi.python.org/ .. _semantic versioning: https://semver.org/ .. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg :alt: Black code style :target: https://black.readthedocs.io/ .. |latest-version| image:: https://img.shields.io/pypi/v/cerberus.svg :alt: Latest version on PyPI :target: https://pypi.org/project/cerberus .. |license| image:: https://img.shields.io/pypi/l/cerberus.svg :alt: Software license :target: https://github.com/pyeve/cerberus/blob/1.3.x/LICENSE .. |python-support| image:: https://img.shields.io/pypi/pyversions/cerberus.svg :target: https://pypi.python.org/pypi/cerberus :alt: Python versions

Release History

VersionChangesUrgencyDate
1.3.8Imported from PyPI (1.3.8)Low4/21/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.x@2026-01-01Latest activity on 1.3.x branchLow1/1/2026
1.3.7Tag 1.3.7Low12/31/2024
1.3.6Tag 1.3.6Low12/23/2024
1.3.5Tag 1.3.5Low8/9/2023
1.3.4Tag 1.3.4Low5/5/2021
1.3.3Tag 1.3.3Low4/11/2021
1.3.2Tag 1.3.2Low10/29/2019
1.3.1Tag 1.3.1Low5/10/2019
1.3Tag 1.3Low4/30/2019
1.2Tag 1.2Low4/12/2018
1.1Tag 1.1Low3/7/2017
1.0.1Tag 1.0.1Low9/1/2016
0.9.2Tag 0.9.2Low9/23/2015
0.9.1Tag 0.9.1Low7/7/2015
0.9Tag 0.9Low6/24/2015
0.8.1Tag 0.8.1Low3/13/2015
0.8Tag 0.8Low1/7/2015
0.7.1Tag 0.7.1Low6/17/2014
0.7Tag 0.7Low5/16/2014
0.4.0Tag 0.4.0Low9/23/2013

Dependencies & License Audit

Loading dependencies...

Similar Packages

validatorsPython Data Validation for Humansโ„ข0.35.0
openapi-pydanticPydantic OpenAPI schema implementation0.5.1
modalPython client library for Modalmain@2026-06-05
unstructured-clientPython Client SDK for Unstructured APIv0.45.0
anthropicThe official Python library for the anthropic APIv0.106.0

More from pypi

markitdownUtility tool for converting various files to Markdown
fastapiFastAPI framework, high performance, easy to learn, fast to code, ready for production
djangoA high-level Python web framework that encourages rapid development and clean, pragmatic design.
flaskA simple framework for building complex web applications.

More in Developer Tools

system_prompts_leaksExtracted system prompts from ChatGPT (GPT-5.4, GPT-5.3, Codex), Claude (Opus 4.6, Sonnet 4.6, Claude Code), Gemini (3.1 Pro, 3 Flash, CLI), Grok (4.2, 4), Perplexity, and more. Updated regularly.
pipThe PyPA recommended tool for installing Python packages.
anthropicThe official Python library for the anthropic API
openinference-instrumentationOpenInference instrumentation utilities