{ "info": { "author": "Michael Williamson", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "jq.py: a lightweight and flexible JSON processor\n================================================\n\nThis project contains Python bindings for\n`jq `_.\n\nInstallation\n------------\n\nDuring installation,\nthe source for jq 1.5 is downloaded over HTTPS and built.\nTherefore, installation requires any programs required to build jq.\nThis includes:\n\n* Autoreconf\n\n* The normal C compiler toolchain, such as gcc and make.\n\n* libtool\n\n* Python headers.\n\nDebian, Ubuntu or relatives\n~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nIf on Debian, Ubuntu or relatives, running the following command should be sufficient:\n\n.. code-block:: sh\n\n apt-get install autoconf automake build-essential libtool python-dev\n\nRed Hat, Fedora, CentOS or relatives\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nIf on Red Hat, Fedora, CentOS, or relatives, running the following command should be sufficient:\n\n.. code-block:: sh\n\n yum groupinstall \"Development Tools\"\n yum install autoconf automake libtool python\n\nMac OS X\n~~~~~~~~\n\nIf on Mac OS X, you probably want to install\n`Xcode `_ and `Homebrew `_.\nOnce Homebrew is installed, you can install the remaining dependencies with:\n\n.. code-block:: sh\n\n brew install autoconf automake libtool\n\nUsage\n-----\n\nA program can be compiled by passing it to ``jq.jq``.\nTo apply the program to an input, call the ``transform`` method.\njq.py expects the value to be valid JSON,\nsuch as values returned from ``json.load``.\n\n.. code-block:: python\n\n from jq import jq\n\n jq(\".\").transform(\"42\") == \"42\"\n jq(\".\").transform({\"a\": 1}) == {\"a\": 1}\n\nIf the value is unparsed JSON text, pass it in using the ``text``\nargument:\n\n.. code-block:: python\n\n jq(\".\").transform(text=\"42\") == 42\n\nThe ``text_output`` argument can be used to serialise the output into\nJSON text:\n\n.. code-block:: python\n\n jq(\".\").transform(\"42\", text_output=True) == '\"42\"'\n\nIf there are multiple output elements, each element is represented by a\nseparate line, irrespective of the value of ``multiple_output``:\n\n.. code-block:: python\n\n jq(\".[]\").transform([1, 2, 3], text_output=True) == \"1\\n2\\n3\"\n\nIf ``multiple_output`` is ``False`` (the default), then the first output\nis used:\n\n.. code-block:: python\n\n jq(\".[]+1\").transform([1, 2, 3]) == 2\n\nIf ``multiple_output`` is ``True``, all output elements are returned in\nan array:\n\n.. code-block:: python\n\n jq(\".[]+1\").transform([1, 2, 3], multiple_output=True) == [2, 3, 4]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/mwilliamson/jq.py", "keywords": null, "license": "BSD 2-Clause", "maintainer": null, "maintainer_email": null, "name": "jq", "package_url": "https://pypi.org/project/jq/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/jq/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/mwilliamson/jq.py" }, "release_url": "https://pypi.org/project/jq/0.1.6/", "requires_dist": null, "requires_python": null, "summary": "jq is a lightweight and flexible JSON processor.", "version": "0.1.6" }, "last_serial": 1944114, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "72ff8950d769d43ac78ff1c6d31c23a5", "sha256": "0c483b6dc562a3d022f4e02363dd1fe8b34c0953748c7a070e433e2fcc0ecd22" }, "downloads": -1, "filename": "jq-0.1.0.tar.gz", "has_sig": false, "md5_digest": "72ff8950d769d43ac78ff1c6d31c23a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33981, "upload_time": "2014-06-13T15:37:40", "url": "https://files.pythonhosted.org/packages/f9/f8/13737001ce6cd1e628f767cda920efe815e256b4518f7d452c6e495ecc15/jq-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f71a002f36f111d644bdda46c4f2eb18", "sha256": "719c3d2fb2a38b008bb6559f477592e8299ce59f1c427df5fecf4866d851c6d5" }, "downloads": -1, "filename": "jq-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f71a002f36f111d644bdda46c4f2eb18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34349, "upload_time": "2014-06-20T14:45:38", "url": "https://files.pythonhosted.org/packages/da/07/9bee593118186d049ab6c62117ff55a9a9807970280bb91bc7690b4df295/jq-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "8f182b2d92f02d498713d64636cbce9c", "sha256": "ec723e6f73fc5d9df8a38540cac25b199ec0f48513292deca47b9c929c62e5ed" }, "downloads": -1, "filename": "jq-0.1.2.tar.gz", "has_sig": false, "md5_digest": "8f182b2d92f02d498713d64636cbce9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34963, "upload_time": "2015-01-18T10:16:44", "url": "https://files.pythonhosted.org/packages/a1/e3/00bde129cb6e2bd51cb1f86dadf15c628f077a1881224188d5d4954f6278/jq-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "17e5ea3b04b44a66e5cd394a3fb0cde2", "sha256": "f686319209505534230e842db785121bb9adb2ec4ffbeeac27dae2b33a33491c" }, "downloads": -1, "filename": "jq-0.1.3.tar.gz", "has_sig": false, "md5_digest": "17e5ea3b04b44a66e5cd394a3fb0cde2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35379, "upload_time": "2015-02-18T21:02:55", "url": "https://files.pythonhosted.org/packages/49/e3/7e61310ac490f52ea3c58669059d6d374c339b70babc43289ab4e5284f29/jq-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "3be49987665648b0232148aa55181bd0", "sha256": "f090a910f54b68b53d2e25529f6660f3fd5fdb2fae68f5ffc62fd023573f56d5" }, "downloads": -1, "filename": "jq-0.1.4.tar.gz", "has_sig": false, "md5_digest": "3be49987665648b0232148aa55181bd0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35415, "upload_time": "2015-08-10T19:27:37", "url": "https://files.pythonhosted.org/packages/6e/a5/b5e87cf3a7fb0e4b13190f2dd10441ddf44df427420ff48e85a2873ee76f/jq-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "5427a8c60668962d279882c3ef467f0c", "sha256": "29adfdf8fb29f6f51f4c2b8878dffc62d43e192496cce3255222929625c92938" }, "downloads": -1, "filename": "jq-0.1.5.tar.gz", "has_sig": false, "md5_digest": "5427a8c60668962d279882c3ef467f0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32523, "upload_time": "2015-09-09T18:53:04", "url": "https://files.pythonhosted.org/packages/b4/6d/a9e4ce7a3aa3762567530fb6daaaba770710937ac20d425b3b79fbfdff45/jq-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "5a5fd1d5bbd592a1e987740289c859c9", "sha256": "34bdf9f9e49e522e1790afc03f3584c6b57329215ea0567fb2157867d6d6f602" }, "downloads": -1, "filename": "jq-0.1.6.tar.gz", "has_sig": false, "md5_digest": "5a5fd1d5bbd592a1e987740289c859c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35403, "upload_time": "2016-02-07T11:33:48", "url": "https://files.pythonhosted.org/packages/82/0c/bf3f544f850cef19f4468bea93e4d0aa908e0d8c601609ba1ed561b42c79/jq-0.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5a5fd1d5bbd592a1e987740289c859c9", "sha256": "34bdf9f9e49e522e1790afc03f3584c6b57329215ea0567fb2157867d6d6f602" }, "downloads": -1, "filename": "jq-0.1.6.tar.gz", "has_sig": false, "md5_digest": "5a5fd1d5bbd592a1e987740289c859c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35403, "upload_time": "2016-02-07T11:33:48", "url": "https://files.pythonhosted.org/packages/82/0c/bf3f544f850cef19f4468bea93e4d0aa908e0d8c601609ba1ed561b42c79/jq-0.1.6.tar.gz" } ] }