Skip to main content

jsonwidget is a general-purpose JSON validation and manipulation library. This library provides the following functions for applications:

  • Validation of JSON-compatible data against a schema

  • Automatic generation of a schema from JSON-compatible data

  • Construction of a curses-based tree data editing user interface from a schema

  • Construction of a Javascript-based web tree data editing user interface from a schema

  • Simple WSGI server to serve the web user interface, and validate and store result of editing with the web user interface

Though jsonwidget is optimized for working with JSON, it is useful for providing editing capability for any JSON-compatible data structure.

The following utilities are included with jsonwidget:

  • jsonedit - A terminal-based application (like you would use via SSH or local terminal on Linux and Mac). It’s based on urwid, an excellent Python-based library for building terminal-based user interfaces.

  • csvedit - A variation on jsonedit that allows editing of .csv/tsv files.

  • jsonaddress - an example JSON address book editor

  • jwc - a command line utility with the following functions:

    • editserver - launch a web server to edit a json file from a browser

    • json2yaml - convert a json file to yaml with comments pulled from schema (also yaml2json to go back)

    • schemagen - create a schema from an example json file

    • validate - validate a JSON file against a schema

Website: http://robla.net/jsonwidget

Metadata

Release files for jsonwidget 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jsonwidget 0.1.7
File Size Uploaded Provenance
jsonwidget-0.1.7.tar.gz 71.0 kB Without provenance Details

Release files / jsonwidget-0.1.7.tar.gz

Download URL jsonwidget-0.1.7.tar.gz
Size 71.0 kB
Tags Source
SHA-256 checksum
How to use checksums
83cf5a3e44ec87afe966f2bc5e0a1c1f56c143b1aac19ac9543b521935a812c5
BLAKE2b-256 checksum
How to use checksums
1b2e07f7122a61a603a7f12ee6778b9281ad185b0cfb5015ffa0b6aea8de6f61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for jsonwidget 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page