Metadata-Version: 1.2
Name: PyJSONViewer
Version: 1.3.0
Summary: A JSON file data viewer using pure python
Home-page: https://github.com/AtsushiSakai/PyJSONViewer
Author: Atsushi Sakai
Author-email: asakaig@gmail.com
Maintainer: Atsushi Sakai
Maintainer-email: asakaig@gmail.com
License: MIT
Description: PyJSONViewer
        ============
        
        A JSON file data viewer using pure python
        
        -  Mac OS
        
        .. figure:: https://github.com/AtsushiSakai/PyJSONViewer/raw/master/img/mac.png
           :alt: img1
        
           img1
        
        -  Windows10
        
        .. figure:: https://github.com/AtsushiSakai/PyJSONViewer/raw/master/img/windows.png
           :alt: img1
        
           img1
        
        -  Ubuntu
        
        .. figure:: https://github.com/AtsushiSakai/PyJSONViewer/raw/master/img/ubuntu.png
           :alt: img1
        
           img1
        
        What is this?
        =============
        
        This is a JSON file data viewer based on python.
        
        It only uses built-in libraries of python (tkinter, json).
        
        Features:
        
        1. Minimum dependency.
        
        2. Multi-platform (Mac, Windows, Linux).
        
        3. Easy to use.
        
        Requirements
        ============
        
        -  Python 3.6.x or higher
        
        Download
        ========
        
           $ pip install PyJSONViewer
        
        or download as zip.
        
        -  `PyJSONViewer · PyPI <https://pypi.org/project/PyJSONViewer/>`__
        
        How to use
        ==========
        
        Bash alias setting
        ------------------
        
        If you add this alias settting in your .bashrc
        
           alias pyjsonviewer=‘python -m pyjsonviewer’
        
        you can use this tool with just typing “pyjsonviewer” in your bash.
        
        Select JSON file with CUI.
        --------------------------
        
        1. Run pyjsonviewer with -f option and the path to a JSON file:
        
        ..
        
           $ pyjsonviewer -f path_to_json_file/sample.json
        
        2. JSON data tree will be shown.
        
        Select JSON file with GUI.
        --------------------------
        
        1. Run pyjsonviewer
        
        ..
        
           $ pyjsonviewer
        
        2. File->Open and then select json file.
        
        3. JSON data tree will be shown.
        
        You can set initial directory:
        
           $ pyjsonviewer -d path_to_json_file_dir
        
        Select JSON file from history.
        ------------------------------
        
        1. Run pyjsonviewer.py
        
        2. File->“Open from history” and then double click a json file path from
           the list.
        
        .. figure:: https://github.com/AtsushiSakai/PyJSONViewer/raw/master/img/history.png
           :alt: img1
        
           img1
        
        3. JSON data tree will be shown.
        
        Select JSON file with drag and drop.
        ------------------------------------
        
        1. Run pyjsonviewer.py with the option -o
        
        ..
        
           $ python pyjsonviewer.py -o path_to_json_file_dir
        
        2. File browser is shown.
        
        3. You can drag and drop a JSON file to the file browser.
        
        Vimrc setting
        -------------
        
        If you are a vim user, you can set this command in your vimrc.
        
        ::
        
           "JSON format
           function! JsonFormat()
               %!python -m json.tool
           endfunction
           command! JsonFormat :call JsonFormat()
        
           "JSON viewer
           function! JsonViewer()
               "%!python -m pyjsonviewer -f % > /dev/null
               let filename = expand('%')
               let s:job = job_start(
               \   ["/bin/sh", "-c", "python -m pyjsonviewer -f".filename],{})
           endfunction
           command! JsonViewer :call JsonViewer()
        
        When you are editing a json file with vim,
        
        you can open it using PyJSONViewer with
        
           : JSONViewer()
        
        You can also format json file with
        
           : JSONFormat()
        
        Open a link with a brower
        =========================
        
        If a URL is included in a json file,
        
        you can open it with a browser with double click the URL.
        
        License
        =======
        
        MIT
        
        Author
        ======
        
        -  `Atsushi Sakai <https://github.com/AtsushiSakai/>`__
           ([@Atsushi_twi](https://twitter.com/Atsushi_twi))
        
Keywords: python json tkinter
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Scientific/Engineering :: Visualization
Requires-Python: >3.6.0
