skip to navigation
skip to content

microschema 0.4

MicroSchema is a schema validation library for Python.

MicroSchema

Example:

>>> import microschema
>>> schema = {
...     'username': {'type': str, 'required': True},
...     'score': {'type': int},
... }
>>> data = {
...     'username': 'foobar',
...     'score': 10000,
... }
>>> print microschema.validate(schema, data)

Python Compatibility

Currently, only python 2.7 is supported.

 
File Type Py Version Uploaded on Size
microschema-0.4.tar.gz (md5) Source 2016-10-17 4KB