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.


pip install fastjsonschema

Support only for Python 3.3 and higher.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
fastjsonschema-2.3.tar.gz (14.9 kB) Copy SHA256 hash SHA256 Source None Sep 14, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page