pyqtschema
allows the generation of a graphical representation of a jsonschema. A given
schema is translated to QWidgets.
As usual:
-
install the pypi version
pip install pyqtschema
-
or clone the repository
pip install git+https://github.com/amsico/pyqtschema.git
Use the WidgetBuilder
in applications or run the module to visualize a schema:
python -m pyqtschema ./path/to/your/scheam.json
Several examples are available in the examples folder. The examples use pydantic to generate schemas easily.
pyqtschema
is inspired by qt-jsonschema-form. Due to the author's
lack of time and the missing
anyOf-support
, this project was started.