a framework to extract jsonschema's 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-0.8.2.tar.gz
(10.8 kB
view hashes)
Built Distribution
Close
Hashes for jsonschema-extractor-0.8.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c72b37d3b94f7ed69f03d308c01018f2765f9976267c279ff29b4e24e6e2e570 |
|
MD5 | a1a03a22d30e07700ffaa66a021167fe |
|
BLAKE2b-256 | 1d1e1242f45cffa2f0834f4a65b1b8bac8ad459cc8bfa80352f0bc8b90846163 |
Close
Hashes for jsonschema_extractor-0.8.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6ba9aeb0ab521df12d19aac0aa97df1753fabfa6603756d1f2c570708690b0e |
|
MD5 | 83366817372cecb2ccd05dd168a5eec6 |
|
BLAKE2b-256 | 5a4dba44a78bab71b3f7b9eece2a76bdb0ad9e55750d84d58ad4929a64ca09e0 |