pyqtschema

Convert json-schema to QWidgets


License
MIT
Install
pip install pyqtschema==0.1.9

Documentation

pyqtschema

pyqtschema allows the generation of a graphical representation of a jsonschema. A given schema is translated to QWidgets.

Installation

As usual:

  • install the pypi version

    pip install pyqtschema

  • or clone the repository

    pip install git+https://github.com/amsico/pyqtschema.git

Usage

Use the WidgetBuilder in applications or run the module to visualize a schema:

python -m pyqtschema ./path/to/your/scheam.json

Examples

Several examples are available in the examples folder. The examples use pydantic to generate schemas easily.

Background

pyqtschema is inspired by qt-jsonschema-form. Due to the author's lack of time and the missing anyOf-support , this project was started.