{"id":13419395,"url":"https://github.com/pyeve/cerberus","last_synced_at":"2025-12-12T01:05:14.235Z","repository":{"id":4997211,"uuid":"6155413","full_name":"pyeve/cerberus","owner":"pyeve","description":"Lightweight, extensible data validation library for Python","archived":false,"fork":false,"pushed_at":"2024-12-31T14:22:37.000Z","size":2749,"stargazers_count":3209,"open_issues_count":12,"forks_count":241,"subscribers_count":50,"default_branch":"1.3.x","last_synced_at":"2025-05-07T06:38:33.719Z","etag":null,"topics":["data-validation","python"],"latest_commit_sha":null,"homepage":"http://python-cerberus.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"michaeljones/breathe","license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyeve.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"nicolaiarocci","patreon":"nicolaiarocci"}},"created_at":"2012-10-10T10:03:49.000Z","updated_at":"2025-05-05T12:33:38.000Z","dependencies_parsed_at":"2024-04-28T01:52:06.288Z","dependency_job_id":"4443fd5d-4390-451f-8543-ca66ca5cf006","html_url":"https://github.com/pyeve/cerberus","commit_stats":{"total_commits":940,"total_committers":67,"mean_commits":"14.029850746268657","dds":0.5936170212765958,"last_synced_commit":"b392d3af7f9aa47a71b5c045e1f22a1f9df56521"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyeve%2Fcerberus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyeve%2Fcerberus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyeve%2Fcerberus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyeve%2Fcerberus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyeve","download_url":"https://codeload.github.com/pyeve/cerberus/tar.gz/refs/heads/1.3.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254092648,"owners_count":22013290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-validation","python"],"created_at":"2024-07-30T22:01:15.399Z","updated_at":"2025-12-12T01:05:14.159Z","avatar_url":"https://github.com/pyeve.png","language":"Python","readme":"Cerberus |latest-version|\n=========================\n|python-support| |black|\n\nCerberus is a lightweight and extensible data validation library for Python.\n\n.. code-block:: python\n\n    \u003e\u003e\u003e v = Validator({'name': {'type': 'string'}})\n    \u003e\u003e\u003e v.validate({'name': 'john doe'})\n    True\n\n\nFeatures\n--------\n\nCerberus provides type checking and other base functionality out of the box and\nis designed to be non-blocking and easily and widely extensible, allowing for\ncustom validation. It has no dependencies, but has the potential to become\nyours.\n\n\nVersioning \u0026 Interpreter support\n--------------------------------\n\nStarting with Cerberus 1.2, it is maintained according to\n`semantic versioning`_. So, a major release sheds off the old and defines a\nspace for the new, minor releases ship further new features and improvements\n(you know the drill, new bugs are inevitable too), and micro releases polish a\ndefinite amount of features to glory.\n\nWe intend to test Cerberus against all CPython interpreters at least until half\na year after their `end of life`_ and against the most recent PyPy interpreter\nas a requirement for a release. If you still need to use it with a potential\nsecurity hole in your setup, it should most probably work with the latest\nminor version branch from the time when the interpreter was still tested.\nSubsequent minor versions have good chances as well. In any case, you are\nadvised to run the contributed test suite on your target system.\n\n\nDocumentation\n-------------\n\nComplete documentation is available at http://docs.python-cerberus.org\n\n\nInstallation\n------------\n\nCerberus is on PyPI_, so all you need to do is:\n\n.. code-block:: console\n\n    $ pip install cerberus\n\n\nTesting\n-------\n\nJust run:\n\n.. code-block:: console\n\n    $ python setup.py test\n\nOr you can use tox to run the tests under all supported Python versions. Make\nsure the required python versions are installed and run:\n\n.. code-block:: console\n\n    $ pip install tox  # first time only\n    $ tox\n\n\nContributing\n------------\n\nPlease see the `Contribution Guidelines`_.\n\n\nCopyright\n---------\n\nCerberus is an open source project by `Nicola Iarocci`_. See the license_ file\nfor more information.\n\n\n.. _Contribution Guidelines: https://github.com/pyeve/cerberus/blob/1.3.x/CONTRIBUTING.rst\n.. _end of life: https://devguide.python.org/#status-of-python-branches\n.. _license: https://github.com/pyeve/cerberus/blob/1.3.x/LICENSE\n.. _Nicola Iarocci: https://nicolaiarocci.com/\n.. _PyPI: https://pypi.python.org/\n.. _semantic versioning: https://semver.org/\n\n.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg\n   :alt: Black code style\n   :target: https://black.readthedocs.io/\n.. |latest-version| image:: https://img.shields.io/pypi/v/cerberus.svg\n   :alt: Latest version on PyPI\n   :target: https://pypi.org/project/cerberus\n.. |license| image:: https://img.shields.io/pypi/l/cerberus.svg\n   :alt: Software license\n   :target: https://github.com/pyeve/cerberus/blob/1.3.x/LICENSE\n.. |python-support| image:: https://img.shields.io/pypi/pyversions/cerberus.svg\n   :target: https://pypi.python.org/pypi/cerberus\n   :alt: Python versions\n","funding_links":["https://github.com/sponsors/nicolaiarocci","https://patreon.com/nicolaiarocci"],"categories":["Python","Data Validation","📊 Data Validation \u0026 Quality","Libraries in Python","数据验证","Data Quality","Data Validation [🔝](#readme)","Awesome Python","🐍 Python","Data validation"],"sub_categories":["Productivity","Data Validation","Useful Python Tools for Data Analysis"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyeve%2Fcerberus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyeve%2Fcerberus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyeve%2Fcerberus/lists"}