A widget generator for your Jupyter notebooks
MIT License
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
.
These are the core features:
ipywidgets
widgets for all basic typesipywidgets-jsonschema
can be installed with pip:
python -m pip install ipywidgets-jsonschema
Alternatively, you can get it from conda-forge
:
conda install -c conda-forge ipywidgets-jsonschema
allOf
and not
rules for schema composition are only partially or not at all supported.if
-then
-else
)ipywidgets-jsonschema
e.g. a title
field