jsonschema-instance
A Python package that creates default objects from a JSON schema.
Note
This is not a validator. Inputs should be valid JSON schemas. For Python you can use the jsonschema package to validate schemas.
Installation
pip install jsonschema-default
Usage
import jsonschema_default
default_obj = jsonschema_default.create_from("<schema>")
Development
- Install and configure Poetry
pip install --user poetry
See Installation for the official guide.
- Install the dependencies using
# Configure poetry to create a local venv directory
poetry config virtualenvs.in-project true
poetry install
Metadata
Release files for jsonschema-default 1.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jsonschema_default-1.8.1.tar.gz | 49.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jsonschema_default-1.8.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 66.2 kB
Release files / jsonschema_default-1.8.1.tar.gz
| Download URL | jsonschema_default-1.8.1.tar.gz |
|---|---|
| Size | 49.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77e35e4a95519c7dbdbe25438c00af33c17bb766cbb0a29a2aa9d645ee3c1399
|
|
BLAKE2b-256 checksum How to use checksums |
66eabf5bd72c4b9f9618b243d9dd373c84b2ee6240a90e2d209ce00e01dff476
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.6
|
Release files / jsonschema_default-1.8.1-py3-none-any.whl
| Download URL | jsonschema_default-1.8.1-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27bc3234aa633d86935354c1f0e5d41c696851d7c20e9882d2da221469d25ad1
|
|
BLAKE2b-256 checksum How to use checksums |
58cb1d8d3b3b528cee2961f90db0939632d5faec24d5ef98c5ed2b90a1d3ff9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.6
|