Skip to main content

MicroSchema is a schema validation library for Python.

Project description

https://travis-ci.org/amibiz/microschema.svg?branch=develop https://coveralls.io/repos/github/amibiz/microschema/badge.svg

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.

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

microschema-0.5.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file microschema-0.5.tar.gz.

File metadata

  • Download URL: microschema-0.5.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for microschema-0.5.tar.gz
Algorithm Hash digest
SHA256 2a3893c1964dcda9dc3c309cabac1d3b5c7230b633d052a206d7b34281f74518
MD5 fbc513dfc79ff13166716a9c8031de0e
BLAKE2b-256 0b77f798b41ab5aefe500c23a5f5546c68e2b7b3cd8d269eb1dfd3c11aed45fa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page