https://github.com/funkyfuture/cerberus-collections
Extensions for Cerberus, a lightweight and extensible data validation library for Python
https://github.com/funkyfuture/cerberus-collections
Last synced: about 1 year ago
JSON representation
Extensions for Cerberus, a lightweight and extensible data validation library for Python
- Host: GitHub
- URL: https://github.com/funkyfuture/cerberus-collections
- Owner: funkyfuture
- License: isc
- Created: 2015-12-18T21:07:39.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-13T20:39:30.000Z (almost 10 years ago)
- Last Synced: 2025-03-25T10:11:12.407Z (over 1 year ago)
- Language: Python
- Homepage: https://cerberus-collections.rtfd.io/
- Size: 43.9 KB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
cerberus-collections
====================
|latest| |python-support|
`Cerberus`_ is a lightweight and extensible data validation library for Python.
Here are the extensions.
Contents
++++++++
This package aims to provide various code pieces that add functionality for
validations.
Python 2 is not supposed to be supported, though some parts may run reliably.
Error Handlers
--------------
- ``cerberus_collections.JSONErrorHandler``
- ``cerberus_collections.XMLErrorHandler`` (requires `lxml`_)
(`documentation `_)
TODO
....
- HumanErrorhandler
- YAML
- logger
- handler chainer
Rules
-----
Types
-----
TODO
....
- python builtin types (https://github.com/nicolaiarocci/cerberus/issues/186)
- common networking and posix data
Validators
----------
TODO
....
- PyObjectValidator
Versioning scheme
+++++++++++++++++
The first version segment of a release matches the one of the Cerberus version
it supports. The following parts reflect the release's month and possibly pre-
or post-release segments.
Contributing
++++++++++++
If you wrote an extension for Cerberus that suites general use, you're welcome
to have it included here. If you're interested in one of the mentioned, yet
unimplemented units, your initiative is highly appreciated. As improvements of
documentation and tests are as well.
(`Issue tracker `_)
If you have a Docker client installed, you can easily run tests against all
supported Python implementations and the documentation:
/run-docker-tests
TODO
++++
- type annotations
- maybe Cython
.. _`Cerberus`: http://python-cerberus.org
.. _`lxml`: https://pypi.python.org/pypi/lxml
.. |latest| image:: https://img.shields.io/pypi/v/cerberus-collections.svg
:target: https://pypi.python.org/pypi/cerberus-collections
:alt: Version
.. |python-support| image:: https://img.shields.io/pypi/pyversions/cerberus-collections.svg
:target: https://pypi.python.org/pypi/cerberus-collections
:alt: Python versions