"a framework to extract jsonschemas from a variety of models."
Project description
jsonschema-extractor is a library and extensible framework for extracting json schema from various object and primitives.
Out of the box support exists for:
Usage
from typing import List
import jsonschema_extractor
assert jsonschema_extractor.extract(List[int]) == {
"type": "array",
"items": {"type": "integer"}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jsonschema-extractor-1.0b1.tar.gz
(11.6 kB
view hashes)
Built Distribution
Close
Hashes for jsonschema-extractor-1.0b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89065a63da984813b21fc1546844b1be8a7066f81ce9d0519dc0f2229f972a83 |
|
MD5 | 9ee36654dcd9c0067a010b0bc6fbaec9 |
|
BLAKE2b-256 | 5a28f60cc9529dc7759193d697558264f512e7c1687dcb5595442840a0360e0a |
Close
Hashes for jsonschema_extractor-1.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42851e97845f7ae42095eb22a4048894896c918b08d269da9a9ec2f764ab1f7d |
|
MD5 | 0ab0130dfd87cdc91be2a6e6d8a07f9d |
|
BLAKE2b-256 | 751270789186b484d6f98c18dd7bd411735e594b4055d8f11011a259dc844e6d |