FindSoftware

Cerberus

Python library for validating data against a schema of rules, with type checking and custom validators.

Cerberus is a Python library that checks data against a schema of rules. A Validator is built from a schema dict, and its validate method returns whether a dictionary matches it. The library provides type checking and other base functionality, and custom validation can be added to it. Nicola Iarocci maintains the project.

The package is installed from PyPI with pip. The documentation is the project’s own reference.

Worth knowing

Python versions below 3.8 install one extra dependency, importlib-metadata, so the package is not dependency-free on those interpreters.

Identity

Status
Active
Maintainer
Nicola Iarocci3
First release
20126

Rendering and deploy

Install with
pip install2

Releases

Current major version
14
Last release
2025-11-066

Adoption

GitHub stars
3,2812
Contributors
535

Why these figures do not compare

Sources

  1. 2026-11-04: links
    docs.python-cerberus.org/
  2. 2026-11-04: links, Written in, Categories, Install with, GitHub stars
    github.com/pyeve/cerberus
  3. 2026-11-04: Maintainer, License model
    github.com/pyeve/cerberus/blob/1.3.x/LICENSE
  4. 2026-11-04: License, Runtime, Minimum runtime, Current major version
    github.com/pyeve/cerberus/blob/1.3.8/pyproject.toml
  5. 2026-11-04: Contributors
    api.github.com/repos/pyeve/cerberus/contributors?per_page=1
  6. 2026-11-04: Last release, First release
    pypi.org/pypi/Cerberus/json

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON