{ "info": { "author": "Matthew Hooker", "author_email": "mwhooker@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: ISC License (ISCL)", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], "description": "#jsonselect.py\n\n\n\njsonselect.py is a python implementation of https://github.com/fd/json_select\n\nYou can find more information here http://jsonselect.org/\n\n\n## Usage\n\njsonselect can be called directly from the command line.\n\n`python -m jsonselect < jsonfile`\n\nThis is usefull, for example, for parsing out values from JSON APIs.\n\n```sh\n$aws ec2 describe-instances --filters \"Name=tag:Name,Values=kafka\" | python -m jsonselect .InstanceId\n[\"i-12345678\", \"i-23456789\", \"i-3456789A\"]\n```\n\n### Full Usage\n\n```\nusage: __main__.py [-h] [--list | --machine-readable] selector [infile]\n\nparse json with jsonselect.\n\npositional arguments:\n selector\n infile\n\noptional arguments:\n -h, --help show this help message and exit\n --list, -l new-line separated list of values. works best on lists.\n --machine-readable Print json with no formatting\n```\n\n\n## Project status\n\njsonselect.py currently implements levels 1 & 2 of these conformance tests https://github.com/lloyd/JSONSelectTests\n\nlevel 3 is unimplemented because I was having trouble understanding what the correct behavior should be\n\n\n##Tests\n\nget the upstream conformance tests:\ngit submodule update --init\n\nRun specific level conformance tests with\nnosetests -m '.*_level_1' ./tests/test_conformance.py", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mwhooker/jsonselect", "keywords": "json", "license": "ISC", "maintainer": null, "maintainer_email": null, "name": "jsonselect", "package_url": "https://pypi.org/project/jsonselect/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/jsonselect/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mwhooker/jsonselect" }, "release_url": "https://pypi.org/project/jsonselect/0.2.3/", "requires_dist": null, "requires_python": null, "summary": "Python implementation of jsonselect (http://jsonselect.org/)", "version": "0.2.3" }, "last_serial": 902212, "releases": { "0.1a": [ { "comment_text": "", "digests": { "md5": "261ca9af3faa4bebf480ac4638be1c1e", "sha256": "bbb0d60b2fd89c1e4b27c42ffbee9198e1d868f2baf5106964bcf70cf44656d6" }, "downloads": -1, "filename": "jsonselect-0.1a.tar.gz", "has_sig": false, "md5_digest": "261ca9af3faa4bebf480ac4638be1c1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15054, "upload_time": "2011-09-04T12:06:10", "url": "https://files.pythonhosted.org/packages/39/82/b0cbdb37a76ff05e47c760aad5f275880e7b6651d955e7526bdd36bb2e32/jsonselect-0.1a.tar.gz" } ], "0.1b": [ { "comment_text": "", "digests": { "md5": "fa796c845999f9218605151f76d90e81", "sha256": "8c25922ffe714a7bbcf6abaf5a2a821032b2df7d054dbb1ce095ca5c4bafe8af" }, "downloads": -1, "filename": "jsonselect-0.1b.tar.gz", "has_sig": false, "md5_digest": "fa796c845999f9218605151f76d90e81", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15986, "upload_time": "2011-09-06T10:24:17", "url": "https://files.pythonhosted.org/packages/8b/15/6877a7aa82e4ea6c07658d52c07bf763c56505a3810378e345934c855602/jsonselect-0.1b.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "7829b48b5148aa21e479e8b93ee9da34", "sha256": "f76ea7a87a9cf8f9cd01c320148ff5fb7f5f6d5798427430a180b2e54e136c90" }, "downloads": -1, "filename": "jsonselect-0.2.tar.gz", "has_sig": false, "md5_digest": "7829b48b5148aa21e479e8b93ee9da34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8698, "upload_time": "2013-10-15T17:36:00", "url": "https://files.pythonhosted.org/packages/31/f2/7f154fc06a16e9fb5dd7d7c439ca8de99c56810ee8856316d5485a1aea82/jsonselect-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "cb9c35128cfee744f2bf83a1501642c9", "sha256": "d398ce874f508870a6ab8b586bf27efe6db2bd7e696ea4ed699e8fd554177b23" }, "downloads": -1, "filename": "jsonselect-0.2.1.tar.gz", "has_sig": false, "md5_digest": "cb9c35128cfee744f2bf83a1501642c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9004, "upload_time": "2013-10-19T01:33:54", "url": "https://files.pythonhosted.org/packages/2f/a8/064b865172ea77aab806ad42f62a4677fd5da7238a0fcd67536fb0912ad9/jsonselect-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "0f61d9acf5b4ee537b2be2e72242480c", "sha256": "ebc8e36bdbafa705e2a7c732d20ba1496acb6ecfdb61913cd7f6d2505eab8957" }, "downloads": -1, "filename": "jsonselect-0.2.2.tar.gz", "has_sig": false, "md5_digest": "0f61d9acf5b4ee537b2be2e72242480c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13444, "upload_time": "2013-10-19T05:35:16", "url": "https://files.pythonhosted.org/packages/ec/63/a912311c169d343ac995c7d50dcbf0b8d6f78f89d5713ea4fd0b09459d79/jsonselect-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "b2fc1e9910d3c2a0b27977b6e74b4ef0", "sha256": "95765eb47ba7b114f08cf411511b6a4137302005c8e7789c263747a54c09440a" }, "downloads": -1, "filename": "jsonselect-0.2.3.tar.gz", "has_sig": false, "md5_digest": "b2fc1e9910d3c2a0b27977b6e74b4ef0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13637, "upload_time": "2013-10-24T09:36:56", "url": "https://files.pythonhosted.org/packages/de/56/d4753e9bc7495b24f462d1fb050849065a8efc6905b45ee851cd4cdc2c54/jsonselect-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b2fc1e9910d3c2a0b27977b6e74b4ef0", "sha256": "95765eb47ba7b114f08cf411511b6a4137302005c8e7789c263747a54c09440a" }, "downloads": -1, "filename": "jsonselect-0.2.3.tar.gz", "has_sig": false, "md5_digest": "b2fc1e9910d3c2a0b27977b6e74b4ef0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13637, "upload_time": "2013-10-24T09:36:56", "url": "https://files.pythonhosted.org/packages/de/56/d4753e9bc7495b24f462d1fb050849065a8efc6905b45ee851cd4cdc2c54/jsonselect-0.2.3.tar.gz" } ] }