Skip to main content

Extensions for cerberus, a lightweight and extensible data validation library for Python

Project description

Version Python versions

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cerberus-collections-1.2016.9a1.tar.gz (3.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page