Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Validate dicts against a schema

Project Description

Valedictory validates dicts. It operates in a manner superficially similar to Django forms, but is tuned for use in API validation, and other situations where you are receiving JSON as opposed to key-value POST form data. It takes in a dict of data (probably obtained from a JSON POST request), and validates that data against some criteria.

Input data can be typed, unlike regular Django forms, and validators can be nested, again unlike Django forms.

Additionally, Validator themselves are stateless once constructed. You can reuse the same Validator instance to validate input data multiple times, from multiple sources.

Django is not a requirement. It is just useful as a comparison.

Release History

Release History

This version
History Node

0.5.2

History Node

0.5.1

History Node

0.5.0

History Node

0.5.0.b1

History Node

0.4.0

History Node

0.3.1

History Node

0.3.0

History Node

0.2.0

History Node

0.1.0

History Node

0.0.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
valedictory-0.5.2-py3-none-any.whl (19.5 kB) Copy SHA256 Checksum SHA256 3.5 Wheel May 10, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting