Skip to main content

Fastest Python implementation of JSON schema

Project description

PyPI version Supported Python versions

This project was made to come up with fast JSON validations. It is at least an order of magnitude faster than other Python implemantaions. See documentation for performance test details.

This library follows and implements JSON schema draft-04, draft-06 and draft-07. Note that there are some differences compared to JSON schema standard:

  • Regular expressions are full Python ones, not only what JSON schema allows. It’s easier to allow everything and also it’s faster to compile without limits. So keep in mind that when you will use more advanced regular expression, it may not work with other library or in other language.

  • JSON schema says you can use keyword default for providing default values. This implementation uses that and always returns transformed input data.

Install

pip install fastjsonschema

Support only for Python 3.3 and higher.

Documentation

Documentation: https://horejsek.github.io/python-fastjsonschema

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

fastjsonschema-2.2.tar.gz (14.9 kB view hashes)

Uploaded Source

Supported by

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