Skip to content

s-knibbs/pyvalico

Repository files navigation

PyValico

⚠ Please Note ⚠: This is not currently maintained due to a number of issues discovered in the upstream library which is not currently being regularly maintained.

Small python wrapper around the valico rust library to provide fast JSON schema validation.

Usage

>>> from valico import validate
>>> validate([2,3,4], {"maxItems": 2})
valico.ValidationError: MaxLength condition is not met

Building

To build manylinux wheels for python 3.5, 3.6 and 3.7, follow the instructions at setuptools-rust, and build using build-wheels.sh in the project root.

TODO

  • Add tests / travis build
  • Benchmark against jsonschema