Skip to main content

jsgui provides 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.2.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: jsgui-0.9.2.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.2.tar.gz
Algorithm Hash digest
SHA256 56b08c476fe9eab294f364705d6f3c1596f0dcac61d72bcab30fbac2d3322bbd
MD5 825145f0d5ca0122c43d594d31c903f2
BLAKE2b-256 dc422a2ec46311ce6617102bb76ead7f7cd08c6e3a93f44b9ba04ee79173cd2a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jsgui-0.9.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ffcd3e3156c5daaae0f06ba42a7d50079e11cece13a51d878a025ed438f04d06
MD5 f9e2c6607ae12c6581203d59aab07ec6
BLAKE2b-256 7c38317ab919ca23ced874a0097ca37d2e64aa7c951457c4b817ffb1c71bcfe5

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