{ "info": { "author": "Sam Caldwell", "author_email": "mail@samcaldwell.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Build Tools" ], "description": "config_tool (A simple configuration management tool for JSON files)\n===================================================================\n\nThe MIT License (MIT)\nCopyright (c) 2016 Sam Caldwell.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to \ndeal in the Software without restriction, including without limitation the\nrights to use, copy, modify, merge, publish, distribute, sublicense, and/or\nsell copies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies 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,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\nIN THE SOFTWARE.\n\nDescription:\n\nconfig-tool is a simple configuration management tool for JSON files.\nThis tool allows the user to easily read, write and validate a JSON\nfile from command line as well as from a python script which imports\nthe Config class.\n\n\n\n============================\nUSAGE (FROM THE COMMANDLINE)\n============================\n\n\n\nGiven a configuration file (sample.json):\n\n-----------------------------------------\n\n{\n \"foo\":{\n \"bar\":1\n }\n}\n\n-----------------------------------------\n\n\n\n\nWe can create a shell script (reader.sh) like this:\n\n---------------------------------------------------\n\n#!/bin/bash\n\nfoo_bar=\"$(config --read --key foo.bar --config ./sample.json)\"\n\necho \"foo.bar:$foo_bar\"\n\n---------------------------------------------------\n\n\n\n\nExecuting this script will return this:\n\n---------------------------------------\n\nroot# reader.sh\n\nfoo.bar:1\n\n---------------------------------------", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/x684867/config-tool/wiki/Home", "keywords": "json config read write validate configuration utility", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "config_tool", "package_url": "https://pypi.org/project/config_tool/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/config_tool/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/x684867/config-tool/wiki/Home" }, "release_url": "https://pypi.org/project/config_tool/0.0.13/", "requires_dist": null, "requires_python": null, "summary": "config_tool is a simple configuration management tool for JSON files.", "version": "0.0.13" }, "last_serial": 2309774, "releases": { "0.0.1": [], "0.0.11": [ { "comment_text": "", "digests": { "md5": "7bc8c740bf563458b4bf42fd9b193dda", "sha256": "e1760ee22efacb2ff9d6d7504a31efdb091dd074ccf10687f98c6bf19de285c6" }, "downloads": -1, "filename": "config_tool-0.0.11.tar.gz", "has_sig": false, "md5_digest": "7bc8c740bf563458b4bf42fd9b193dda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5752, "upload_time": "2016-08-28T18:47:44", "url": "https://files.pythonhosted.org/packages/6a/5a/e9e811bf6181edf7341a444d19f2566212a2bc1c6347577c773accd2ae04/config_tool-0.0.11.tar.gz" } ], "0.0.13": [ { "comment_text": "", "digests": { "md5": "b8c7a347d70f71e40678175ea4170d2f", "sha256": "e9d260e6645bd89551a1161be754144fc1eb328051ba3ba89678142cbaf2cd47" }, "downloads": -1, "filename": "config_tool-0.0.13.tar.gz", "has_sig": false, "md5_digest": "b8c7a347d70f71e40678175ea4170d2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5750, "upload_time": "2016-08-28T18:56:30", "url": "https://files.pythonhosted.org/packages/29/06/873a47050977f6a7e46ee5a90fd769b7954e4d76cba29362afd0550b4d07/config_tool-0.0.13.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "6919b581546d161dce2dc1178ecd0967", "sha256": "6d5ab38d8e3d0bad8f220a9873ef7439cd19cf358050bdc8ae1e5fadf5846654" }, "downloads": -1, "filename": "config_tool-0.0.2.tar.gz", "has_sig": false, "md5_digest": "6919b581546d161dce2dc1178ecd0967", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5911, "upload_time": "2016-08-19T20:48:45", "url": "https://files.pythonhosted.org/packages/c4/54/4523d174f012e10dddcc14039dccacf4bc607295f5d64002160725672877/config_tool-0.0.2.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "704743912be0ce49ca2c5635ebf7e3fd", "sha256": "9d2352decf60db26b7e036c832270a840eea0cbb581f1889c79449f576ae67ed" }, "downloads": -1, "filename": "config_tool-0.0.9.tar.gz", "has_sig": false, "md5_digest": "704743912be0ce49ca2c5635ebf7e3fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5759, "upload_time": "2016-08-28T17:36:49", "url": "https://files.pythonhosted.org/packages/d9/27/05c998d73f3aaaf2bc81c87073de5c911b80a29d0cf37306aba4ba7eb9c4/config_tool-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b8c7a347d70f71e40678175ea4170d2f", "sha256": "e9d260e6645bd89551a1161be754144fc1eb328051ba3ba89678142cbaf2cd47" }, "downloads": -1, "filename": "config_tool-0.0.13.tar.gz", "has_sig": false, "md5_digest": "b8c7a347d70f71e40678175ea4170d2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5750, "upload_time": "2016-08-28T18:56:30", "url": "https://files.pythonhosted.org/packages/29/06/873a47050977f6a7e46ee5a90fd769b7954e4d76cba29362afd0550b4d07/config_tool-0.0.13.tar.gz" } ] }