{ "info": { "author": "Robert Grant", "author_email": "rhgrant10@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "======\nndjson\n======\n\nSupport for ndjson. Plain and simple.\n\n.. image:: https://img.shields.io/pypi/v/ndjson.svg\n :target: https://pypi.python.org/pypi/ndjson\n\n.. image:: https://img.shields.io/travis/rhgrant10/ndjson.svg\n :target: https://travis-ci.org/rhgrant10/ndjson\n\n.. image:: https://img.shields.io/pypi/pyversions/ndjson \n :target: https://pypi.python.org/pypi/ndjson\n\n.. image:: https://img.shields.io/pypi/l/ndjson\n :target: https://pypi.python.org/pypi/ndjson\n\n\nFeatures\n--------\n\n* familiar interface\n* very small\n* no dependencies\n* works as advertised\n* has tests\n\n\nUsage\n-----\n\n``ndjson`` exposes the same api as the builtin ``json`` and ``pickle`` packgages.\n\n.. code-block:: python\n\n import ndjson\n\n # load from file-like objects\n with open('data.ndjson') as f:\n data = ndjson.load(f)\n\n # convert to and from objects\n text = ndjson.dumps(data)\n data = ndjson.loads(text)\n\n # dump to file-like objects\n with open('backup.ndjson', 'w') as f:\n ndjson.dump(items, f)\n\n\nIt contains ``JSONEncoder`` and ``JSONDecoder`` classes for easy\nuse with other libraries, such as ``requests``:\n\n.. code-block:: python\n\n import ndjson\n import requests\n\n response = requests.get('https://example.com/api/data')\n items = response.json(cls=ndjson.Decoder)\n\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n0.2.0 (2019-08-01)\n------------------\n\n* Add support for 3.7\n* Remove support for 3.4\n\n0.1.0 (2018-05-17)\n------------------\n\n* First release on PyPI.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rhgrant10/ndjson", "keywords": "ndjson", "license": "GNU General Public License v3", "maintainer": "", "maintainer_email": "", "name": "ndjson", "package_url": "https://pypi.org/project/ndjson/", "platform": "", "project_url": "https://pypi.org/project/ndjson/", "project_urls": { "Homepage": "https://github.com/rhgrant10/ndjson" }, "release_url": "https://pypi.org/project/ndjson/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "JsonDecoder for ndjson", "version": "0.2.0" }, "last_serial": 5619186, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "c3b58d0a85ec1b9172fbadd0c752daec", "sha256": "85c75f30b2c99e0035b293188e438a0390d4fe1857dcc3ca6934805a63aa6a45" }, "downloads": -1, "filename": "ndjson-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c3b58d0a85ec1b9172fbadd0c752daec", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4641, "upload_time": "2018-05-17T21:59:32", "url": "https://files.pythonhosted.org/packages/39/ba/0628840da7b61fb63a6a0e030291a7a5e5d393a51cbcb27ded8b2a838aa9/ndjson-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3db65523d516eb473371939d8f42a57", "sha256": "7ff89cbdfcb29fc7b401b8b5a7d16129ccb081dbfad3a90ed4ee3f3a60eef32f" }, "downloads": -1, "filename": "ndjson-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c3db65523d516eb473371939d8f42a57", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5742, "upload_time": "2018-05-17T21:59:33", "url": "https://files.pythonhosted.org/packages/46/cd/31854d9dfbd97eb2942cb6598788f682c5da8f4932fcc2eeb1a262bebab8/ndjson-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "7858ee6610ba604890be712f6dc2fd1d", "sha256": "d7baaf34c4d314f551662027726f157c78c38889a4fc39d1f9b8d4f5f0ecb521" }, "downloads": -1, "filename": "ndjson-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7858ee6610ba604890be712f6dc2fd1d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4706, "upload_time": "2019-08-01T14:45:17", "url": "https://files.pythonhosted.org/packages/f3/03/7dce7f71bce783fae64015e74b123b5e26074e356401664051d6f2339e7c/ndjson-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "650c85d04ae66e44e0eef4710e10f9d0", "sha256": "d3e8a793bc089a39ac534fe55b9aef85af655ea553c38d8d8173ce1747b438e6" }, "downloads": -1, "filename": "ndjson-0.2.0.tar.gz", "has_sig": false, "md5_digest": "650c85d04ae66e44e0eef4710e10f9d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5777, "upload_time": "2019-08-01T14:45:19", "url": "https://files.pythonhosted.org/packages/f5/53/015dd8f66bf88094d45430b637652f4e757fd3a1b0ef742c76ef075cd7b1/ndjson-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7858ee6610ba604890be712f6dc2fd1d", "sha256": "d7baaf34c4d314f551662027726f157c78c38889a4fc39d1f9b8d4f5f0ecb521" }, "downloads": -1, "filename": "ndjson-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7858ee6610ba604890be712f6dc2fd1d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4706, "upload_time": "2019-08-01T14:45:17", "url": "https://files.pythonhosted.org/packages/f3/03/7dce7f71bce783fae64015e74b123b5e26074e356401664051d6f2339e7c/ndjson-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "650c85d04ae66e44e0eef4710e10f9d0", "sha256": "d3e8a793bc089a39ac534fe55b9aef85af655ea553c38d8d8173ce1747b438e6" }, "downloads": -1, "filename": "ndjson-0.2.0.tar.gz", "has_sig": false, "md5_digest": "650c85d04ae66e44e0eef4710e10f9d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5777, "upload_time": "2019-08-01T14:45:19", "url": "https://files.pythonhosted.org/packages/f5/53/015dd8f66bf88094d45430b637652f4e757fd3a1b0ef742c76ef075cd7b1/ndjson-0.2.0.tar.gz" } ] }