Skip to main content

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


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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jsonschema_extractor-0.6-py2.py3-none-any.whl (9.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file jsonschema-extractor-0.6.tar.gz.

File metadata

File hashes

Hashes for jsonschema-extractor-0.6.tar.gz
Algorithm Hash digest
SHA256 5dc4c38b8a8c562c180b59c8363d2a76cf6c3f5d01c7722122f5d7b6c10af9aa
MD5 b1c6f9550100131d532a1526eac17824
BLAKE2b-256 d7ee8f00487d28c73f43689f7015f7c5f17ab3b8f608b3bb6b2fb992b1e4037b

See more details on using hashes here.

File details

Details for the file jsonschema_extractor-0.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for jsonschema_extractor-0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 970404e595e3f06c7dcfa83ad3de3ef155e0a098bc5e3c70481b3d34d61df0f2
MD5 90191c2e55a40431047c335f6db475b4
BLAKE2b-256 d770b25d118cef2e01ff6b3e47fd3b3e0d90d97b784e71b9916baa30f61f641d

See more details on using hashes here.

Supported by

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