Metadata-Version: 2.0
Name: valedictory
Version: 0.5.2
Summary: Validate dicts against a schema
Home-page: https://bitbucket.org/tim_heap/valedictory/
Author: Tim Heap
Author-email: tim@timheap.me
License: BSD License
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Framework :: Django
Classifier: License :: OSI Approved :: BSD License
Requires-Dist: iso8601 (==0.1.11)

===========
valedictory
===========

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.


