cerberus-collections-1.2016.9a1
توضیحات
Extensions for cerberus, a lightweight and extensible data validation library for Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cerberus-collections-1.2016.9a1 |
| نام | cerberus-collections |
| نسخه کتابخانه | 1.2016.9a1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Frank Sachsenheim |
| ایمیل نویسنده | funkyfuture@riseup.net |
| آدرس صفحه اصلی | https://github.com/funkyfuture/cerberus-collections |
| آدرس اینترنتی | https://pypi.org/project/cerberus-collections/ |
| مجوز | ISC |
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 <https://cerberus-collections.rtfd.io/en/latest/error_handlers.html>`_)
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 have a Docker client installed, you can easily run all tests:
<project_dir>/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
نحوه نصب
نصب پکیج whl cerberus-collections-1.2016.9a1:
pip install cerberus-collections-1.2016.9a1.whl
نصب پکیج tar.gz cerberus-collections-1.2016.9a1:
pip install cerberus-collections-1.2016.9a1.tar.gz