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.4.tar.gz (15.6 kB view details)

Uploaded Source

File details

Details for the file fastjsonschema-2.4.tar.gz.

File metadata

  • Download URL: fastjsonschema-2.4.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.5

File hashes

Hashes for fastjsonschema-2.4.tar.gz
Algorithm Hash digest
SHA256 e7d841789312aee7774d0094ac68568a35fe2832ee94442ced66f7f8b93d856f
MD5 56cea0748a4733acf1c76b0769603168
BLAKE2b-256 b35217b3f38c6e38527535b9d7b74f6afe27ce3e34e61ea5e74e2b05372083c9

See more details on using hashes here.

Supported by

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