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.7.tar.gz (4.8 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.7-py2.py3-none-any.whl (8.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: jsonschema-extractor-0.7.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6

File hashes

Hashes for jsonschema-extractor-0.7.tar.gz
Algorithm Hash digest
SHA256 4034165eb39a94d8242a727083eb2f9038b4cf534d03042a36ec68330b6b81e0
MD5 50988cfa7f7093707a1d2265e7b37349
BLAKE2b-256 6854ce792738b30a8bc11e4d99da5aa6fad6a2a136a04c67402cfb317f4269cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jsonschema_extractor-0.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6

File hashes

Hashes for jsonschema_extractor-0.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 08eecb9809b08b9c18e0791f103bbeb66d84fba435ace92720827d0442011ece
MD5 2e81d942ea7edc8ad368b53e3aecc32f
BLAKE2b-256 0b797483f0075806156f868de611d66f5089c33af3308613d409c425be663932

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