Jsonwidget-python
From Jsonwidget
jsonwidget-python is a general-purpose JSON validation and manipulation library. The following applications are bundled with jsonwidget-python:
- jsonedit - A terminal-based applications (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.
- 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
Links:
- Introduction to jsonwidget-python
- Download
- Tarball: jsonwidget-python 0.1.7
- PyPI command:
easy_install jsonwidget
(See also jsonwidget PyPI page and/or the PyPI tutorial) - Ubuntu Karmic/Lucid package:
sudo add-apt-repository ppa:robla/ppa
sudo apt-get update
sudo apt-get install jsonwidget
(see the jsonwidget Launchpad page for details) - bitbucket Mercurial repository: http://bitbucket.org/robla/jsonwidget-python/
See also: jsonwidget-javascript, jsonwidget