{ "info": { "author": "vimfun", "author_email": "vimfunny@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3 :: Only", "Topic :: System :: Shells", "Topic :: Text Processing", "Topic :: Text Processing :: Filters" ], "description": "# Pretty JSON\nTool for printing pretty JSON (just for the missing options in `json.tool`)\n\nFor the issues in [Python bug tracker](https://bugs.python.org):\n* [Specifying indent in the json.tool command](https://bugs.python.org/issue29636)\n* [Add an option to json.tool to bypass non-ASCII characters](https://bugs.python.org/issue27413)\n\n## Installing\n\nInstall and update using `pip`:\n\n```shell\n pip install -U prettyjson\n```\n\n\n## Usage Examples\n\n#### Example 1\n```shell\necho '{\"name\": \"vimfun\", \"from\": \"The Earth\"}' | python -m prettyjson\n```\nResult:\n```json\n{\n \"name\": \"vimfun\",\n \"from\": \"The Earth\",\n\n}\n```\n\n#### Example 2\n```shell\necho '{\"name\": \"vimfun\", \"from\": \"The Earth\"}' | python -m prettyjson --indent=2\n```\nResult:\n```json\n{\n \"name\": \"vimfun\",\n \"from\": \"The Earth\"\n}\n```\n\n#### Example 3\n```shell\necho '{\"name\": \"\u738b\u65ed\u6797\", \"from\": \"The Earth\"}' | python -m prettyjson --indent=2 --no-ensure-ascii\n```\nResult:\n```json\n{\n \"name\": \"\u738b\u65ed\u6797\",\n \"from\": \"The Earth\"\n}\n```\n\n## Links\n\n* Website: https://github.com/vimfun/prettyjson\n* Releases: https://pypi.org/project/prettyjson/\n* Code: https://github.com/vimfun/prettyjson\n* Issue tracker: https://github.com/vimfun/prettyjson/issues\n* Test status:\n\n * Linux, Mac: https://travis-ci.org/vimfun/prettyjson\n * Windows: https://ci.appveyor.com/project/vimfun/prettyjson\n\n* Test coverage: https://codecov.io/gh/vimfun/prettyjson\n\n\n", "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/vimfunny/prettyjson", "keywords": "", "license": "PSF license", "maintainer": "", "maintainer_email": "", "name": "prettyjson", "package_url": "https://pypi.org/project/prettyjson/", "platform": "", "project_url": "https://pypi.org/project/prettyjson/", "project_urls": { "Homepage": "https://github.com/vimfunny/prettyjson" }, "release_url": "https://pypi.org/project/prettyjson/1.0.3/", "requires_dist": null, "requires_python": "", "summary": "Command-line tool to validate and pretty-print JSON(just for the missing options in `json.tool`)", "version": "1.0.3" }, "last_serial": 5560719, "releases": { "1.0.3": [ { "comment_text": "", "digests": { "md5": "089eb82b9394bb8b1399db3bfa46948a", "sha256": "ac0b5246147ce289e8f1c63c0248f9ab361b662e7073ab9e4ab7018e6d725a9e" }, "downloads": -1, "filename": "prettyjson-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "089eb82b9394bb8b1399db3bfa46948a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4287, "upload_time": "2019-07-20T14:11:27", "url": "https://files.pythonhosted.org/packages/e3/29/9601c08f7c12a89815edf4daa1e21317443d6ea8bc940aa98476b77bd910/prettyjson-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8e2ec24c3558b4ab7743e80cc4671551", "sha256": "1d56d98b0e74e1aa40bf8eca8e2412c0c87b7114672681e051657f819d826f74" }, "downloads": -1, "filename": "prettyjson-1.0.3.tar.gz", "has_sig": false, "md5_digest": "8e2ec24c3558b4ab7743e80cc4671551", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2771, "upload_time": "2019-07-20T14:11:28", "url": "https://files.pythonhosted.org/packages/e4/90/f220098f71c6337922f2154de7c78442e7d2cbf1c6f432ca6dd52344120a/prettyjson-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "089eb82b9394bb8b1399db3bfa46948a", "sha256": "ac0b5246147ce289e8f1c63c0248f9ab361b662e7073ab9e4ab7018e6d725a9e" }, "downloads": -1, "filename": "prettyjson-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "089eb82b9394bb8b1399db3bfa46948a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4287, "upload_time": "2019-07-20T14:11:27", "url": "https://files.pythonhosted.org/packages/e3/29/9601c08f7c12a89815edf4daa1e21317443d6ea8bc940aa98476b77bd910/prettyjson-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8e2ec24c3558b4ab7743e80cc4671551", "sha256": "1d56d98b0e74e1aa40bf8eca8e2412c0c87b7114672681e051657f819d826f74" }, "downloads": -1, "filename": "prettyjson-1.0.3.tar.gz", "has_sig": false, "md5_digest": "8e2ec24c3558b4ab7743e80cc4671551", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2771, "upload_time": "2019-07-20T14:11:28", "url": "https://files.pythonhosted.org/packages/e4/90/f220098f71c6337922f2154de7c78442e7d2cbf1c6f432ca6dd52344120a/prettyjson-1.0.3.tar.gz" } ] }