Widget Generator for JSON schema
Project description
ipywidgets-jsonschema - A widget generator for your Jupyter notebooks
This project allows you to generate Jupyter widgets from schemas that follow the JSONSchema specification. If you already have a schema available, creating a widget form for it is as simple as this:
from ipywidgets_jsonschema import Form
form = Form(schema)
form.show()
The data can then be retrieved from form
by accessing form.data
.
Features
These are the core features:
- Generation of
ipywidgets
widgets for all basic types - Read and write access to the current document state
- Immutable documents using
pyrsistent
Installation
ipywidgets-jsonschema
can be installed with pip:
python -m pip install ipywidgets-jsonschema
Known limitations
- Some aspects of the JSON Schema specification are hard to implement in
a form generator and are therefore omitted e.g.
- The
allOf
andnot
rules for schema composition - Media types
- Conditional subschemas (might be added)
- The
- Some annotations that are purely optional in the specification are required
for the schema to be usable with
ipywidgets-jsonschema
e.g. atitle
field when the resulting widget would otherwise not be self-explanatory.
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
Close
Hashes for ipywidgets_jsonschema-0.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85d0bd5f570c3e1dcd8c45d9c00a67d13c98615969b3826deb41a1bc689d34ee |
|
MD5 | 58e8ce812c460ceea7b5d9d932ced70a |
|
BLAKE2b-256 | 5909ea1f009b0db4cfc40947b5640f9a9f7a9debe58f3e09e71207e7a74ca97f |