A JSON file data viewer using pure python
Project description
PyJSONViewer
A JSON file data viewer using pure python
Mac OS
Windows10
What is this?
This is a JSON file data viewer based on python.
It only uses build-in libraries of python (tkinter, json).
Features:
Minimum dependency.
Multi-platform (Mac, Windows, Linux).
Easy to use.
Requirements
Python 3.6.x or higher
Download
$ pip install PyJSONViewer
or download as zip.
How to use
alias setting
If you add this alias settting in your .bashrc
alias pyjsonviewer=‘python -m pyjsonviewer’
You can use this tool with just type “pyjsonviewer” in your bash.
Selct JSON file with CUI.
Run pyjsonviewer.py with -f option and the path to a JSON file:
$ python pyjsonviewer.py -f path_to_json_file/sample.json
JSON data tree will be shown.
Select JSON file with GUI.
Run pyjsonviewer.py
File->Open and then select json file.
JSON data tree will be shown.
You can set initial directory with CUI:
$ python pyjsonviewer.py -d path_to_json_file_dir
Select JSON file with drag and drop.
Run pyjsonviewer.py with the option -o
$ python pyjsonviewer.py -o path_to_json_file_dir
File browser is shown.
You can drag and drop a JSON file to the file browser.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.