{ "info": { "author": "Atsushi Sakai", "author_email": "asakaig@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Visualization" ], "description": "\n\n# PyJSONViewer\nA JSON file data viewer using pure python\n\n[![CI](https://github.com/AtsushiSakai/PyJSONViewer/actions/workflows/CI.yml/badge.svg)](https://github.com/AtsushiSakai/PyJSONViewer/actions/workflows/CI.yml)\n[![Downloads](https://pepy.tech/badge/pyjsonviewer)](https://pepy.tech/project/pyjsonviewer)\n[![Downloads](https://pepy.tech/badge/pyjsonviewer/month)](https://pepy.tech/project/pyjsonviewer)\n[![Downloads](https://pepy.tech/badge/pyjsonviewer/week)](https://pepy.tech/project/pyjsonviewer)\n\n# Gallery\n\n- Mac OS\n\n![img1](https://github.com/AtsushiSakai/PyJSONViewer/raw/master/img/mac.png)\n\n- Windows10\n\n![img1](https://github.com/AtsushiSakai/PyJSONViewer/raw/master/img/windows.png)\n\n- Ubuntu\n\n![img1](https://github.com/AtsushiSakai/PyJSONViewer/raw/master/img/ubuntu.png)\n\n\n# What is this?\n\nThis is a JSON file data viewer based on python.\n\nIt only uses built-in libraries of python (tkinter, json).\n\nFeatures:\n\n1. Minimum dependency. \n\n2. Multi-platform (Mac, Windows, Linux).\n\n3. Easy to use.\n\n\n# Requirements\n\n- Python 3.7 or higher\n\n# Download\n\n>$ pip install PyJSONViewer\n\nor download as zip.\n\n- [PyJSONViewer \u00b7 PyPI](https://pypi.org/project/PyJSONViewer/)\n\n# How to use\n\n## Select JSON file with CUI.\n\n1. Run pyjsonviewer with -f option and the path to a JSON file:\n\n> $ pyjsonviewer -f path\\_to\\_json\\_file/sample.json\n\n2. JSON data tree will be shown.\n\n## Select JSON file with GUI.\n\n1. Run pyjsonviewer\n\n> $ pyjsonviewer\n\n2. File-\\>Open and then select json file.\n\n3. JSON data tree will be shown.\n\nYou can set initial directory:\n\n> $ pyjsonviewer -d path\\_to\\_json\\_file\\_dir\n\n## Select JSON file from history.\n\n1. Run pyjsonviewer.py\n\n2. File-\\>\"Open from history\" and then double click a json file path from the list.\n\n![img1](https://github.com/AtsushiSakai/PyJSONViewer/raw/master/img/history.png)\n\n3. JSON data tree will be shown.\n\n## Select JSON file with drag and drop.\n\n1. Run pyjsonviewer.py with the option -o\n\n> $ python pyjsonviewer.py -o path\\_to\\_json\\_file\\_dir\n\n2. File browser is shown.\n\n3. You can drag and drop a JSON file to the file browser.\n\n## Menu bar function\n\n- Expand all items: Tools -> Expand all\n\n- Collapse all items: Tools -> Collapse all\n\n- Show version: Help -> About\n\n- Show github page: Help -> GitHub page\n\n- Show release note: Help -> Release note\n\n## Inside python code\n\n### View json file\n```\nimport pyjsonviewer\n\npyjsonviewer.view_data(json_file=\"dat/list.json\")\n\n```\nJSON data tree will be shown.\n\n### View json object\n```\nimport pyjsonviewer\njson_object = {\"a\":[1,2,3], \"b\":\"test\"}\npyjsonviewer.view_data(json_data=json_object)\n```\nJSON data tree will be shown.\n\n## Vimrc setting\n\nIf you are a vim user, you can set this command in your vimrc.\n\n\t\"JSON format\n\tfunction! JsonFormat()\n\t\t%!python -m json.tool\n\tendfunction\n\tcommand! JsonFormat :call JsonFormat()\n\n\t\"JSON viewer\n\tfunction! JsonViewer()\n\t\t\"%!python -m pyjsonviewer -f % > /dev/null\n \t\tlet filename = expand('%')\n\t\tlet s:job = job_start(\n\t\t\\ [\"/bin/sh\", \"-c\", \"python -m pyjsonviewer -f\".filename],{})\n\tendfunction\n\tcommand! JsonViewer :call JsonViewer()\n\nWhen you are editing a json file with vim,\n\nyou can open it using PyJSONViewer with\n\n>: JSONViewer()\n\nYou can also format json file with\n\n>: JSONFormat()\n\n# Open a link with a browser\n\nIf a URL is included in a json file,\n\nyou can open it with a browser with double click the URL.\n\n# License \n\nMIT\n\n# Author\n\n- [Atsushi Sakai](https://github.com/AtsushiSakai/) ([@Atsushi_twi](https://twitter.com/Atsushi_twi))", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/AtsushiSakai/PyJSONViewer", "keywords": "python json tkinter", "license": "MIT", "maintainer": "Atsushi Sakai", "maintainer_email": "asakaig@gmail.com", "name": "PyJSONViewer", "package_url": "https://pypi.org/project/PyJSONViewer/", "platform": "", "project_url": "https://pypi.org/project/PyJSONViewer/", "project_urls": { "Homepage": "https://github.com/AtsushiSakai/PyJSONViewer" }, "release_url": "https://pypi.org/project/PyJSONViewer/1.6.0/", "requires_dist": null, "requires_python": ">3.6.0", "summary": "A JSON file data viewer using pure python", "version": "1.6.0", "yanked": false, "yanked_reason": null }, "last_serial": 10292765, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "cec864408d92be8a16c75fb8c2b0022b", "sha256": "c149db01f25daf4d2155c84e71fbeca8f31a8454704bc893b2d624049285758d" }, "downloads": -1, "filename": "PyJSONViewer-0.0.1.tar.gz", "has_sig": false, "md5_digest": "cec864408d92be8a16c75fb8c2b0022b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3159, "upload_time": "2018-08-05T12:07:28", "upload_time_iso_8601": "2018-08-05T12:07:28.247383Z", "url": "https://files.pythonhosted.org/packages/e4/04/ab968b4c05dd338d81a79ce9e550fb702f18058231029e16e8b4d8c92a70/PyJSONViewer-0.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "0705978a231dca7e847c5d3510d1887d", "sha256": "75b671ec33eba26365c5d391a8ad18c16badc7fa57a5d4ca2e1111c6d4e8e911" }, "downloads": -1, "filename": "PyJSONViewer-0.0.2.tar.gz", "has_sig": false, "md5_digest": "0705978a231dca7e847c5d3510d1887d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3388, "upload_time": "2018-08-06T12:20:07", "upload_time_iso_8601": "2018-08-06T12:20:07.436056Z", "url": "https://files.pythonhosted.org/packages/d6/0d/e622a28616fc742aa4444b16c5f14a8fb1ea51483a496be6affdf8ea5a84/PyJSONViewer-0.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "24e12cbc2a4fd4ba79d6996f31427cfb", "sha256": "2e9fec446397627478de1cd111384a00f4b140301c96986a424b5265b5ba7363" }, "downloads": -1, "filename": "PyJSONViewer-1.1.0.tar.gz", "has_sig": false, "md5_digest": "24e12cbc2a4fd4ba79d6996f31427cfb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4674, "upload_time": "2018-10-07T12:42:33", "upload_time_iso_8601": "2018-10-07T12:42:33.553859Z", "url": "https://files.pythonhosted.org/packages/9c/74/2ba38d4e2956025f163878b6a6e8db68ee1103df2e839e06d70606200f29/PyJSONViewer-1.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "ee19a64a6300f97ed3479596256f9916", "sha256": "28d15606eca71ffa90057bb1eaa3f2c4aee99589877e36517bceac98881c51a6" }, "downloads": -1, "filename": "PyJSONViewer-1.2.0.tar.gz", "has_sig": false, "md5_digest": "ee19a64a6300f97ed3479596256f9916", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 4695, "upload_time": "2019-04-19T12:50:21", "upload_time_iso_8601": "2019-04-19T12:50:21.772698Z", "url": "https://files.pythonhosted.org/packages/d5/bd/6977c3271f3e8672c527f148e349712fc07a2d1e35204d04141a8c52d7f0/PyJSONViewer-1.2.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "61064d9341c8891f9e07ea68fea7f175", "sha256": "e49c7b4348f9dccfb62ee1e2ff86c74d1e73a0f0054cce16d1d2babc213703c9" }, "downloads": -1, "filename": "PyJSONViewer-1.3.0.tar.gz", "has_sig": false, "md5_digest": "61064d9341c8891f9e07ea68fea7f175", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 5312, "upload_time": "2019-07-07T05:39:11", "upload_time_iso_8601": "2019-07-07T05:39:11.754759Z", "url": "https://files.pythonhosted.org/packages/c9/79/46711bd476aa12aa49ef620d4826cfcd25b71b5bd3fd4a5aa5e085533835/PyJSONViewer-1.3.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "68c79ba0d7a4dddaa03a633ce74897f1", "sha256": "5152d8a77faed2d8ffb46fd29c28082197f161087d9c05e1b91176f59a3f6f92" }, "downloads": -1, "filename": "PyJSONViewer-1.3.1.tar.gz", "has_sig": false, "md5_digest": "68c79ba0d7a4dddaa03a633ce74897f1", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 45312, "upload_time": "2019-07-07T05:59:57", "upload_time_iso_8601": "2019-07-07T05:59:57.138458Z", "url": "https://files.pythonhosted.org/packages/85/0e/26e40c1964b3b44cf2735798be1f7002ec8816bcdd63f44aa32449c4d79b/PyJSONViewer-1.3.1.tar.gz", "yanked": false, "yanked_reason": null } ], "1.3.2": [ { "comment_text": "", "digests": { "md5": "702ba610c7830e1f58e4c50d251777bc", "sha256": "51da0080093b1010ce389f55fe351e02dfe97899228122b54d4e3da716265e02" }, "downloads": -1, "filename": "PyJSONViewer-1.3.2.tar.gz", "has_sig": false, "md5_digest": "702ba610c7830e1f58e4c50d251777bc", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 45346, "upload_time": "2019-07-07T06:04:42", "upload_time_iso_8601": "2019-07-07T06:04:42.247370Z", "url": "https://files.pythonhosted.org/packages/d2/db/d51d0ffabc8b8d25ac019916b05e9e59e343441ade9b0b2d531fe347c5b5/PyJSONViewer-1.3.2.tar.gz", "yanked": false, "yanked_reason": null } ], "1.3.3": [ { "comment_text": "", "digests": { "md5": "ec106504185622659d8dc9c57d1a2fe1", "sha256": "5bf43db7be10295dd493b665a15a95d518830c5be62328172786f81e16f6a498" }, "downloads": -1, "filename": "PyJSONViewer-1.3.3.tar.gz", "has_sig": false, "md5_digest": "ec106504185622659d8dc9c57d1a2fe1", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 45289, "upload_time": "2019-07-07T06:17:25", "upload_time_iso_8601": "2019-07-07T06:17:25.535007Z", "url": "https://files.pythonhosted.org/packages/cd/80/ba65a1ac4333337a3ce48a499d3f91da1e71204c8dc25ea927836066ced9/PyJSONViewer-1.3.3.tar.gz", "yanked": false, "yanked_reason": null } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "58d12d718bc17d774ff47eb785dc2243", "sha256": "95ec63cd84298eb789cb7bd6a49dcaa9032ba9edbd551a0412400af13e6a7670" }, "downloads": -1, "filename": "PyJSONViewer-1.4.0.tar.gz", "has_sig": false, "md5_digest": "58d12d718bc17d774ff47eb785dc2243", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 46202, "upload_time": "2019-08-11T12:12:36", "upload_time_iso_8601": "2019-08-11T12:12:36.944198Z", "url": "https://files.pythonhosted.org/packages/be/63/deea6ffc40306191fac73abab6e31ccca1ba5f8547c6f5aab71a35bf7cf0/PyJSONViewer-1.4.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.4.1": [ { "comment_text": "", "digests": { "md5": "71c64360c13f896f91d334f61e6a72d8", "sha256": "0e9dfe56a4011b8253dd5c44e8ab56f0e544b925d2f7862d71eea8360e2b8f95" }, "downloads": -1, "filename": "PyJSONViewer-1.4.1.tar.gz", "has_sig": false, "md5_digest": "71c64360c13f896f91d334f61e6a72d8", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 45740, "upload_time": "2019-10-26T12:01:13", "upload_time_iso_8601": "2019-10-26T12:01:13.945485Z", "url": "https://files.pythonhosted.org/packages/a3/3c/804cd7db16138837bfcfc21f7dbb7230ab860220fadcdba8d68aad49fd03/PyJSONViewer-1.4.1.tar.gz", "yanked": false, "yanked_reason": null } ], "1.4.3": [ { "comment_text": "", "digests": { "md5": "e1b4b77527c3ac2592f3e73317b1563e", "sha256": "4aa34c8dc7e50d862f35a1076a1207cc37b604de28b7bdc79e6d66daeb8b37fc" }, "downloads": -1, "filename": "PyJSONViewer-1.4.3.tar.gz", "has_sig": false, "md5_digest": "e1b4b77527c3ac2592f3e73317b1563e", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 45498, "upload_time": "2019-10-28T12:49:14", "upload_time_iso_8601": "2019-10-28T12:49:14.627373Z", "url": "https://files.pythonhosted.org/packages/9d/b7/2d7772c4e1e2752aeca32b0bafe08ea9848232bc7bb392d2009061684ed5/PyJSONViewer-1.4.3.tar.gz", "yanked": false, "yanked_reason": null } ], "1.4.4": [ { "comment_text": "", "digests": { "md5": "fcd7add98a88b853b68ccd9842d8623e", "sha256": "31a735b7dd9e95eb62f7db8fc96132aa0055e475b33c0e11b640d3d79dfe98ca" }, "downloads": -1, "filename": "PyJSONViewer-1.4.4.tar.gz", "has_sig": false, "md5_digest": "fcd7add98a88b853b68ccd9842d8623e", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 46260, "upload_time": "2020-04-25T11:12:36", "upload_time_iso_8601": "2020-04-25T11:12:36.740632Z", "url": "https://files.pythonhosted.org/packages/66/85/2b6ebf04e1fb3adbf97dc56651aea40d85b511d5c2bafee3b890cab2e67c/PyJSONViewer-1.4.4.tar.gz", "yanked": false, "yanked_reason": null } ], "1.5.0": [ { "comment_text": "", "digests": { "md5": "e05424d3f3d03be0cf95c7a9bef34a9e", "sha256": "d8cb99e8e3fae3371a457e21a46e664770084f3da4d50447f93c065901d78232" }, "downloads": -1, "filename": "PyJSONViewer-1.5.0.tar.gz", "has_sig": false, "md5_digest": "e05424d3f3d03be0cf95c7a9bef34a9e", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 47144, "upload_time": "2021-04-17T04:34:35", "upload_time_iso_8601": "2021-04-17T04:34:35.699961Z", "url": "https://files.pythonhosted.org/packages/81/e5/8e124ac36e93d04aaecb6e6cfbe1fb95482b0c73c8c59838af3080a9220b/PyJSONViewer-1.5.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.5.1": [ { "comment_text": "", "digests": { "md5": "f2d68923070dd35818f7b73cab49fe0a", "sha256": "ea216cbb08950889fffce8d0dc58ebe28534af95b24b582399f20139931a6786" }, "downloads": -1, "filename": "PyJSONViewer-1.5.1.tar.gz", "has_sig": false, "md5_digest": "f2d68923070dd35818f7b73cab49fe0a", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 47158, "upload_time": "2021-04-17T04:51:34", "upload_time_iso_8601": "2021-04-17T04:51:34.995357Z", "url": "https://files.pythonhosted.org/packages/64/ea/7eed01a28401810bc79244642d14719031a5797af0e2d4eaaac42fcd7d1f/PyJSONViewer-1.5.1.tar.gz", "yanked": false, "yanked_reason": null } ], "1.5.2": [ { "comment_text": "", "digests": { "md5": "d83e5a07053211861fea4e989d05bd6d", "sha256": "4498748de60cf3cb1064b9686d6a5cc00e77542a78582ac009703680a2df33d8" }, "downloads": -1, "filename": "PyJSONViewer-1.5.2.tar.gz", "has_sig": false, "md5_digest": "d83e5a07053211861fea4e989d05bd6d", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 47258, "upload_time": "2021-04-18T11:33:12", "upload_time_iso_8601": "2021-04-18T11:33:12.514791Z", "url": "https://files.pythonhosted.org/packages/b0/1d/675776361223209e754e678e909aba62ade6039ee938f7096cf7a5b8d4b9/PyJSONViewer-1.5.2.tar.gz", "yanked": false, "yanked_reason": null } ], "1.6.0": [ { "comment_text": "", "digests": { "md5": "66384645f11b37d0716297a87a970822", "sha256": "cb8b07b20a1e17d87eec1ce7abe5560bdbc70ca1a030f0e81818ee2dae19cfed" }, "downloads": -1, "filename": "PyJSONViewer-1.6.0.tar.gz", "has_sig": false, "md5_digest": "66384645f11b37d0716297a87a970822", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 47604, "upload_time": "2021-05-08T06:12:19", "upload_time_iso_8601": "2021-05-08T06:12:19.066272Z", "url": "https://files.pythonhosted.org/packages/7e/53/f5f2f829ac00a2586c834b7a9c306a6cd59a5bf3392f1c38fc1f9e5d6aaf/PyJSONViewer-1.6.0.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "66384645f11b37d0716297a87a970822", "sha256": "cb8b07b20a1e17d87eec1ce7abe5560bdbc70ca1a030f0e81818ee2dae19cfed" }, "downloads": -1, "filename": "PyJSONViewer-1.6.0.tar.gz", "has_sig": false, "md5_digest": "66384645f11b37d0716297a87a970822", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 47604, "upload_time": "2021-05-08T06:12:19", "upload_time_iso_8601": "2021-05-08T06:12:19.066272Z", "url": "https://files.pythonhosted.org/packages/7e/53/f5f2f829ac00a2586c834b7a9c306a6cd59a5bf3392f1c38fc1f9e5d6aaf/PyJSONViewer-1.6.0.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }