Skip to content

amibiz/microschema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

image

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

Python 2.7 and 3.3+ are supported.

About

Schema validation library for Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages