Skip to main content

jsgui provides a gui to edit json files based on a schema file

Project description

JSGUI - A JSON Schema based GUI to create and edit JSON files

JSGUI provides a little tkinter based gui to allow for convenient configuration of json files using a schema file as base.

Features

  • Visualises JSON Schemas using
    • checkboxes
    • textfields
    • drop-down menus
    • hover tips / tool tip texts
  • Allows modification and saving as a .json file conforming to the underlying schema
  • Allows to load an existing .json file into an underlying json schema for easy manipulation
  • supports the following JSON Schema keywords:
    • properties
    • type
    • $comment
    • enum
    • patternProperties
    • $ref
    • required
    • default
    • ... work in progress to enable more keywords

Install

pip install jsgui

How to use

Simply start the application to open an empty window. Either drag-and-drop a json schema or use the Load Menu Button. The schema will be loaded with all required fields being active and default values inserted already. Modify as you please and click "Save" to save.

After loading a schema you may also load a valid .json file to have its values inserted accordingly.

Note that drag-and-drop will try to guess whether you dropped a schema or a "data" json file by searching for typical schema keywords in the first level of the object.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jsgui-0.9.3.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

jsgui-0.9.3-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file jsgui-0.9.3.tar.gz.

File metadata

  • Download URL: jsgui-0.9.3.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.3

File hashes

Hashes for jsgui-0.9.3.tar.gz
Algorithm Hash digest
SHA256 c44f3afa68a1ab567da030955a9218b1bef01b022950e9ba1ba3bf444111e417
MD5 0ed973c9fe666378eadffd40d3edef71
BLAKE2b-256 9bc23fabc7b34c9526353f56b6bf69af1a1ad9bdddcb621b88859301191824e7

See more details on using hashes here.

File details

Details for the file jsgui-0.9.3-py3-none-any.whl.

File metadata

  • Download URL: jsgui-0.9.3-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.3

File hashes

Hashes for jsgui-0.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 84252c4628951a8c5c0fe191cc43af4238c5c295e8290e66b67cd93b8029f50f
MD5 2bb95afd8f058f84c568cd6ee3b932b8
BLAKE2b-256 1b92941d2ef08b07e770885efd3704c54c07504fdb6dcde618519e00558b68e8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page