Generate test data from JSON schemata with Hypothesis
The public API consists of a just two functions:
hypothesis_jsonschema.from_schematakes a JSON schema and returns a Hypothesis strategy which generates objects that match the schema.
hypothesis_jsonschema.json_schematareturns a Hypothesis strategy which generates arbitrary JSON schemata.
hypothesis-jsonschema does not support Python 2, because
it's close to end of life and Python 3.6+ is a
much nicer language. Contact me if you would like this changed and are
willing to either pay for or do the work to support Python 2.