{ "info": { "author": "Marcin Sztolcman", "author_email": "marcin@urzenia.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Other Audience", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Utilities" ], "description": "jsontool\n========\n\n`jsontool` is utility to fighting with JSON files using CLI\n\nCurrent stable version\n----------------------\n\n0.2.1\n\nHow to use it\n-------------\n\n cat data1.json data2.json | jsontool --sort-by='timestamp'\n\n jsontool --color=always < data.json | less -R\n\nMore\n----\n\n % jsontool -h\n usage: jsontool [-h] [-f SORT_BY] [-r] [-g GREP] [-v] [--sort-keys]\n [--indent INDENT] [--color {auto,always,never}]\n\n optional arguments:\n -h, --help show this help message and exit\n -f SORT_BY, --sort-by SORT_BY\n sort given list of JSONs by this field\n -r, --sort-reversed sort in reverse order\n -g GREP, --grep GREP filter list of JSONs using this rules (can be added\n more then once)\n -v, --version show version and exit\n --sort-keys sort keys in printed JSONs (default: not sorted)\n --indent INDENT indent JSONs with INDENT spaces\n --color {auto,always,never}\n manipulate colorizing of JSONs (default: auto)\n\n Argument to --grep option should be in format:\n field:value:modifier\n Where:\n - \"field\" must be in all JSONs.\n - \"value\" is value to search\n - \"modifier\" is optional, and say how to treat \"value\": allowed\n options are: s (string - default), b (boolean), i (integer), f (float)\n\nInstallation\n------------\n\n`jsontool` should work on any platform where [Python](http://python.org) is available, it means Linux, Windows, MacOS X etc. There is no required dependencies, plain Python power :)\n\nTo install, simply use `pip`:\n\n pip install jsontool\n\nIf you do not want to use `pip` tool, then go to [GitHub releases](https://github.com/mysz/jsontool/releases), download newest release, unpack and put somewhere in `PATH` (ie. `~/bin` or `/usr/local/bin`).\n\nIf You want to install newest unstable version, then just copy file to your PATH, for example:\n\n curl https://raw.github.com/mysz/jsontool/master/jsontool.py > /usr/local/bin/jsontool\n\nor:\n\n wget https://raw.github.com/mysz/jsontool/master/jsontool.py -O /usr/local/bin/jsontool\n\nVoila!\n\nAuthors\n-------\n\nMarcin Sztolcman \n\nContact\n-------\n\nIf you like or dislike this software, please do not hesitate to tell me about this me via email (marcin@urzenia.net).\n\nIf you find bug or have an idea to enhance this tool, please use GitHub's [issues](https://github.com/mysz/jsontool/issues).\n\nLicense\n-------\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Marcin Sztolcman\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nChangeLog\n---------\n\n### v0.2.0\n\n* renamed --field argument to --sort-by\n* more formatting options (--sort-keys, --indent)\n* allow to disable colorizing\n* allow to not sort at all\n* allow to sort reversed\n* documentation and help added\n\n### v0.1.0\n\n* initial version", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/mysz/jsontool/", "keywords": "json processing grep sort", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "jsontool", "package_url": "https://pypi.org/project/jsontool/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/jsontool/", "project_urls": { "Homepage": "http://github.com/mysz/jsontool/" }, "release_url": "https://pypi.org/project/jsontool/0.2.1/", "requires_dist": [ "argparse", "pygments" ], "requires_python": null, "summary": "`jsontool` is utility to fighting with JSON files using CLI", "version": "0.2.1" }, "last_serial": 1354703, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "65f65307ca8a17f652dc3431cb229e39", "sha256": "f5e297305906fb5dff7f758ecba0bc7ecf6cc05c8e7093fea0afad9452b7bdca" }, "downloads": -1, "filename": "jsontool-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "65f65307ca8a17f652dc3431cb229e39", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3616, "upload_time": "2014-12-19T09:44:19", "url": "https://files.pythonhosted.org/packages/10/bf/ecb40b10af33ad2758d482aaa68ea2a238bf21575b9457183f6ba9c47161/jsontool-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "32b99d99bd28033336a5cbd3683fe274", "sha256": "78f4f450da601ca58ee9a18bcfe635c2ddd94887ce4ce5916fe6fb124b2a8115" }, "downloads": -1, "filename": "jsontool-0.1.0.tar.gz", "has_sig": false, "md5_digest": "32b99d99bd28033336a5cbd3683fe274", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2240, "upload_time": "2014-12-19T09:44:23", "url": "https://files.pythonhosted.org/packages/0b/96/7b8d570d184077db117f7c8cc90b4f44529b3ad3d47fdd36c59d91648340/jsontool-0.1.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "9b337da49c26575f7fa41df3b0616bf7", "sha256": "42c49ea0d3abc1d173725f6e3e181b7c9c8c5c0098a4680701b05e0f2c7334ec" }, "downloads": -1, "filename": "jsontool-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9b337da49c26575f7fa41df3b0616bf7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8159, "upload_time": "2014-12-19T18:55:14", "url": "https://files.pythonhosted.org/packages/f3/eb/c22e08278629dd84e368402f81fed31054e625fd3ab89727409c2a4e308a/jsontool-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "933f6adf96b2d794cc0182f6ea8c10d1", "sha256": "efd31350f842f5139ce062768ed7faeed0df8636c5688d0b961e848978a9252f" }, "downloads": -1, "filename": "jsontool-0.2.1.tar.gz", "has_sig": false, "md5_digest": "933f6adf96b2d794cc0182f6ea8c10d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4848, "upload_time": "2014-12-19T18:55:17", "url": "https://files.pythonhosted.org/packages/8e/d2/edbeaf269e54a45f14fb61f5beeb962700a375f9d858fcdb06b07796b2c1/jsontool-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9b337da49c26575f7fa41df3b0616bf7", "sha256": "42c49ea0d3abc1d173725f6e3e181b7c9c8c5c0098a4680701b05e0f2c7334ec" }, "downloads": -1, "filename": "jsontool-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9b337da49c26575f7fa41df3b0616bf7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8159, "upload_time": "2014-12-19T18:55:14", "url": "https://files.pythonhosted.org/packages/f3/eb/c22e08278629dd84e368402f81fed31054e625fd3ab89727409c2a4e308a/jsontool-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "933f6adf96b2d794cc0182f6ea8c10d1", "sha256": "efd31350f842f5139ce062768ed7faeed0df8636c5688d0b961e848978a9252f" }, "downloads": -1, "filename": "jsontool-0.2.1.tar.gz", "has_sig": false, "md5_digest": "933f6adf96b2d794cc0182f6ea8c10d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4848, "upload_time": "2014-12-19T18:55:17", "url": "https://files.pythonhosted.org/packages/8e/d2/edbeaf269e54a45f14fb61f5beeb962700a375f9d858fcdb06b07796b2c1/jsontool-0.2.1.tar.gz" } ] }