{ "info": { "author": "Christopher H. Todd", "author_email": "Christopher.Hayden.Todd@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8" ], "description": "# Christopher H. Todd's Python Library For Interacting With JSON Objects and Files\n\nThe ctodd-python-lib-json project is responsible for writing and reading JSON files and objects. will handle encoding Python objects into JSON.\n\n## Table of Contents\n\n- [Dependencies](#dependencies)\n- [Libraries](#libraries)\n- [Example Scripts](#example-scripts)\n- [Notes](#notes)\n- [TODO](#todo)\n\n## Dependencies\n\n### Python Packages\n\n- simplejson>=3.16.0\n\n## Libraries\n\n### [json_reading_helpers.py](https://github.com/ChristopherHaydenTodd/ctodd-python-lib-json/blob/master/json_helpers/json_reading_helpers.py)\n\nThis library is used to aid in the task of reading .json files\n\nFunctions:\n\n```\ndef read_json_file_into_memory(json_file):\n \"\"\"\n Purpose:\n Read properly formatted JSON file into memory.\n Args:\n json_file (String): Filename for JSON file to load (including path)\n Returns:\n json_object (Dictonary): Dictonary representation JSON Object\n Examples:\n >>> json_file = 'some/path/to/file.json'\n >>> json_object = read_json_file_into_memory(json_file)\n >>> print(json_object)\n >>> {\n >>> 'key': 'value'\n >>> }\n \"\"\"\n```\n\n### [json_writing_helpers.py](https://github.com/ChristopherHaydenTodd/ctodd-python-lib-json/blob/master/json_helpers/json_writing_helpers.py)\n\nThis library is used to aid in the task of reading .json files\n\nFunctions:\n\n```\ndef write_json_into_file(json_object, json_file):\n \"\"\"\n Purpose:\n Load Dictionary into JSON File\n Args:\n json_object (Dictionary): Dictionary to be stored in .json format\n json_file (String): Filename for JSON file to store (including path)\n Returns:\n N/A\n Examples:\n >>> json_file = 'some/path/to/file.json'\n >>> json_object = {\n >>> 'key': 'value'\n >>> }\n >>> write_json_into_file(json_file, json_object)\n \"\"\"\n```\n\n## Example Scripts\n\nExample executable Python scripts/modules for testing and interacting with the library. These show example use-cases for the libraries and can be used as templates for developing with the libraries or to use as one-off development efforts.\n\n### N/A\n\n## Notes\n\n - Relies on f-string notation, which is limited to Python3.6. A refactor to remove these could allow for development with Python3.0.x through 3.5.x\n\n## TODO\n\n - Unittest framework in place, but lacking tests\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/ChristopherHaydenTodd/ctodd-python-lib-json", "keywords": "python,libraries,json", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ctodd-python-lib-json", "package_url": "https://pypi.org/project/ctodd-python-lib-json/", "platform": "", "project_url": "https://pypi.org/project/ctodd-python-lib-json/", "project_urls": { "Homepage": "https://github.com/ChristopherHaydenTodd/ctodd-python-lib-json" }, "release_url": "https://pypi.org/project/ctodd-python-lib-json/1.0.2/", "requires_dist": [ "simplejson (>=3.16.0)" ], "requires_python": ">3.6", "summary": "Python utilities used for interacting with JSON Files and Objects", "version": "1.0.2" }, "last_serial": 5170122, "releases": { "1.0.2": [ { "comment_text": "", "digests": { "md5": "2b2c26c8fc195ace7adf6a8d846d4e45", "sha256": "94797f523671951cdba374aad8e56ae17f7a81886ef9a23fab78511892f6abb4" }, "downloads": -1, "filename": "ctodd_python_lib_json-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "2b2c26c8fc195ace7adf6a8d846d4e45", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">3.6", "size": 5836, "upload_time": "2019-04-21T15:43:35", "url": "https://files.pythonhosted.org/packages/f5/bd/79376eef5475ad044901bc1ea4926f6e6a37d5e7fc3f12ce89fdc33ba44b/ctodd_python_lib_json-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "90f9810c6dd4751b933230bd1cc9767f", "sha256": "3834f9cc277722c54492690cb5d7acc4647fa8ae6a55833554edac5917ed6c7f" }, "downloads": -1, "filename": "ctodd-python-lib-json-1.0.2.tar.gz", "has_sig": false, "md5_digest": "90f9810c6dd4751b933230bd1cc9767f", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6", "size": 4898, "upload_time": "2019-04-21T15:43:37", "url": "https://files.pythonhosted.org/packages/b4/8e/785bc7da694999292c8b392fe578932caa2c192e665d1c38e5dac1c5e82e/ctodd-python-lib-json-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2b2c26c8fc195ace7adf6a8d846d4e45", "sha256": "94797f523671951cdba374aad8e56ae17f7a81886ef9a23fab78511892f6abb4" }, "downloads": -1, "filename": "ctodd_python_lib_json-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "2b2c26c8fc195ace7adf6a8d846d4e45", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">3.6", "size": 5836, "upload_time": "2019-04-21T15:43:35", "url": "https://files.pythonhosted.org/packages/f5/bd/79376eef5475ad044901bc1ea4926f6e6a37d5e7fc3f12ce89fdc33ba44b/ctodd_python_lib_json-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "90f9810c6dd4751b933230bd1cc9767f", "sha256": "3834f9cc277722c54492690cb5d7acc4647fa8ae6a55833554edac5917ed6c7f" }, "downloads": -1, "filename": "ctodd-python-lib-json-1.0.2.tar.gz", "has_sig": false, "md5_digest": "90f9810c6dd4751b933230bd1cc9767f", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6", "size": 4898, "upload_time": "2019-04-21T15:43:37", "url": "https://files.pythonhosted.org/packages/b4/8e/785bc7da694999292c8b392fe578932caa2c192e665d1c38e5dac1c5e82e/ctodd-python-lib-json-1.0.2.tar.gz" } ] }