{
"info": {
"author": "Richard Wen",
"author_email": "rrwen.dev@gmail.com",
"bugtrack_url": null,
"classifiers": [],
"description": ".. image:: https://badge.fury.io/py/kwconfig.svg\n :target: https://badge.fury.io/py/kwconfig\n.. image:: https://img.shields.io/github/issues/rrwen/kwconfig.svg\n :target: https://github.com/rrwen/kwconfig/issues\n.. image:: https://travis-ci.org/rrwen/kwconfig.svg?branch=master\n :target: https://travis-ci.org/rrwen/kwconfig\n.. image:: https://coveralls.io/repos/github/rrwen/kwconfig/badge.svg?branch=master\n :target: https://coveralls.io/github/rrwen/kwconfig?branch=master\n.. image:: https://img.shields.io/badge/license-MIT-blue.svg\n :target: https://raw.githubusercontent.com/rrwen/kwconfig/master/LICENSE\n.. image:: https://img.shields.io/github/forks/rrwen/kwconfig.svg\n :target: https://github.com/rrwen/kwconfig/network\n.. image:: https://img.shields.io/github/stars/rrwen/kwconfig.svg\n :target: https://github.com/rrwen/kwconfig/stargazers\n.. image:: https://img.shields.io/twitter/url/https/github.com/rrwen/kwconfig.svg?style=social\n :target: https://twitter.com/intent/tweet?text=simple%20%23python%20%23package%20for%20keyword%20%23json%20%23configuration:%20https://github.com/rrwen/kwconfig\n\nInstall\n-------\n\n1. Install `Python `_\n2. Install `kwconfig `_ via ``pip``\n\n::\n \n pip install kwconfig\n \nFor the latest developer version, see `Developer Install`_.\n \nUsage\n-----\n\n.. code-block:: python\n \n import kwconfig\n \n # Specify a file path for creating kwconfig object\n config = kwconfig.manage('config.json', defaults={'key0': 'value0'})\n \n # Update the config file with a key and value dict\n config.update({'key1': 'value1', 'key2': 'value2'})\n \n # Add a keyword dict to existing config file\n # If a key exists, it will be updated\n # If a key does not exist, it will be added\n other_config = {'key3': 'value3'}\n other_config = config.add(other_config)\n \n # Write new values using keyword dict\n config.overwrite({\n 'new_key1': 'new_value1',\n 'new_key2': 'new_value2'\n })\n \n # Obtain a dict of the config file contents\n kw = config.read()\n \n # Remove the key named \"key1\"\n config.remove('key1')\n \n # Reset to defaults\n config.reset()\n \n # Parsing a keyword list into dict ----\n \n # Create a sample list of keyword arguments\n argv = ['--key1=value1', '--key2=value2']\n \n # Parse into a keyword dict\n kwdict = kwconfig.parse(argv)\n \n # View the values of key1 and key2\n print('key1: ' + kwdict['key1'])\n print('key2: ' + kwdict['key2'])\n \nFor more usage details, see the `Documentation `_.\n\nDeveloper Notes\n---------------\n\nDeveloper Install\n*****************\n\nInstall the latest developer version with ``pip`` from github::\n \n pip install git+https://github.com/rrwen/kwconfig\n \nInstall from ``git`` cloned source:\n\n1. Ensure `git `_ is installed\n2. Clone into current path\n3. Install via ``pip``\n\n::\n\n git clone https://github.com/rrwen/kwconfig\n cd kwconfig\n pip install . -I\n \nTests\n*****\n\n1. Clone into current path ``git clone https://github.com/rrwen/kwconfig``\n2. Enter into folder ``cd kwconfig``\n3. Ensure `unittest `_ is available\n4. Run tests\n\n::\n \n pip install . -I\n python -m unittest\n\nDocumentation Maintenance\n*************************\n\n1. Ensure `sphinx `_ is installed ``pip install -U sphinx``\n2. Update the documentation in ``docs/``\n\n::\n \n pip install . -I\n sphinx-build -b html docs/source docs\n \nUpload to Github\n****************\n\n1. Ensure `git `_ is installed\n2. Add all files and commit changes\n3. Push to github\n\n::\n \n git add .\n git commit -a -m \"Generic update\"\n git push\n \nUpload to PyPi\n**************\n\n1. Ensure `twine `_ is installed ``pip install twine``\n2. Ensure `sphinx `_ is installed ``pip install -U sphinx``\n3. Run tests and check for OK status\n4. Delete ``dist`` directory\n5. Update the version in ``kwconfig/__init__.py``\n6. Update the documentation in ``docs/``\n7. Create source distribution\n8. Upload to `PyPi `_\n\n::\n \n pip install . -I\n python -m unittest\n sphinx-build -b html docs/source docs\n python setup.py sdist\n twine upload dist/*",
"description_content_type": null,
"docs_url": null,
"download_url": "https://github.com/rrwen/kwconfig/archive/master.zip",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/rrwen/kwconfig",
"keywords": "manage,config,keyword,key,word,value,keyvalue,json,file,path,module",
"license": "MIT",
"maintainer": "",
"maintainer_email": "",
"name": "kwconfig",
"package_url": "https://pypi.org/project/kwconfig/",
"platform": "",
"project_url": "https://pypi.org/project/kwconfig/",
"project_urls": {
"Download": "https://github.com/rrwen/kwconfig/archive/master.zip",
"Homepage": "https://github.com/rrwen/kwconfig"
},
"release_url": "https://pypi.org/project/kwconfig/1.1.7/",
"requires_dist": null,
"requires_python": "",
"summary": "A Python module for managing config files in keyword style json format.",
"version": "1.1.7"
},
"last_serial": 3101338,
"releases": {
"0.0.0": [
{
"comment_text": "",
"digests": {
"md5": "aa7c75c127b7d80a726f97891f42030b",
"sha256": "26489213f37d81d1a8d1c97d2d77ab2b9cb2e647ebe0ddc3433ec1e6041c6574"
},
"downloads": -1,
"filename": "kwconfig-0.0.0.tar.gz",
"has_sig": false,
"md5_digest": "aa7c75c127b7d80a726f97891f42030b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2234,
"upload_time": "2017-05-22T09:37:27",
"url": "https://files.pythonhosted.org/packages/5d/12/ce94db1fc983921a442db145500872bdc694aa92cf244cc5bbf0ad8f54b1/kwconfig-0.0.0.tar.gz"
}
],
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "8c17aa9ceef85c37b4dfcb97d7332679",
"sha256": "4e6cf7eb01b5d716a0338310d9c02e3d42a93d68cb0c0d1916b4dc3d3476bbe6"
},
"downloads": -1,
"filename": "kwconfig-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "8c17aa9ceef85c37b4dfcb97d7332679",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2403,
"upload_time": "2017-05-23T02:44:36",
"url": "https://files.pythonhosted.org/packages/9a/3c/90e614e082ece2dce9eefa96454536e0f693c3c2f6222d54faa0c43f8e71/kwconfig-1.0.0.tar.gz"
}
],
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "c9a7b1c75408c09164d2a6872dcca674",
"sha256": "bdc7f7dae44b0c6d28724f431061896f4b3b4014f9c81b0b8badab3992e6e60b"
},
"downloads": -1,
"filename": "kwconfig-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "c9a7b1c75408c09164d2a6872dcca674",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2411,
"upload_time": "2017-05-23T03:01:01",
"url": "https://files.pythonhosted.org/packages/54/26/dd30ca86e2098dda543a60ed6598ed00454bde4938e18e0a26b664a3937f/kwconfig-1.0.1.tar.gz"
}
],
"1.0.2": [
{
"comment_text": "",
"digests": {
"md5": "e3203e1f32bd2d4ee71ed096627b1b96",
"sha256": "118233efb9ded6c87b279722cd8ab649879005d3e0c1c4c576590ee14e87fb0b"
},
"downloads": -1,
"filename": "kwconfig-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "e3203e1f32bd2d4ee71ed096627b1b96",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2416,
"upload_time": "2017-05-23T05:21:14",
"url": "https://files.pythonhosted.org/packages/9d/1d/1727402ecdf3a12aa0e12426c3cbf7ea51d26d40379de3a5d3434bfb8ec4/kwconfig-1.0.2.tar.gz"
}
],
"1.0.3": [
{
"comment_text": "",
"digests": {
"md5": "cc80d82d6f37aee32acae284bc874c0e",
"sha256": "1e85efc8bc552f9f18c4e50fde34006f3d247cdffeba105ad1cbbe4f1cd36a19"
},
"downloads": -1,
"filename": "kwconfig-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "cc80d82d6f37aee32acae284bc874c0e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3362,
"upload_time": "2017-05-23T05:22:57",
"url": "https://files.pythonhosted.org/packages/7e/a7/18e293de8dafe85c5ae4e8bad0b6c558785c88b7fcef88a7dd3e0bf9994f/kwconfig-1.0.3.tar.gz"
}
],
"1.0.4": [
{
"comment_text": "",
"digests": {
"md5": "09d05c286ad67a70a2b4d0914722e949",
"sha256": "cf31803d5fe4418970fc70fee353c82bd598dccf48fa9837b3743c8d6351430e"
},
"downloads": -1,
"filename": "kwconfig-1.0.4.tar.gz",
"has_sig": false,
"md5_digest": "09d05c286ad67a70a2b4d0914722e949",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4217,
"upload_time": "2017-05-29T06:26:13",
"url": "https://files.pythonhosted.org/packages/5c/86/6222a1ac1f64ecb3a4e6bbf65ec1b11cbd18b8f4f5d623c77fe4c6bf7718/kwconfig-1.0.4.tar.gz"
}
],
"1.0.5": [
{
"comment_text": "",
"digests": {
"md5": "79d4e26e0e1c2a0064ea65d522ca7087",
"sha256": "f5760dd898786da68e21a4ad3b83de2c0eece71046d3b0b97ed6e9ab6a738dd8"
},
"downloads": -1,
"filename": "kwconfig-1.0.5.tar.gz",
"has_sig": false,
"md5_digest": "79d4e26e0e1c2a0064ea65d522ca7087",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4204,
"upload_time": "2017-05-29T06:37:24",
"url": "https://files.pythonhosted.org/packages/c4/0a/78b70002bf140c584a03187ee50d5167c92b17d03e78f5bc22211e8edb7e/kwconfig-1.0.5.tar.gz"
}
],
"1.0.6": [
{
"comment_text": "",
"digests": {
"md5": "135e526a3cd45248dc52064684c803d1",
"sha256": "f3304de1b2349d660f60357c21791cfe53564c58e3806eb143075013aa5c7748"
},
"downloads": -1,
"filename": "kwconfig-1.0.6.tar.gz",
"has_sig": false,
"md5_digest": "135e526a3cd45248dc52064684c803d1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4336,
"upload_time": "2017-05-29T08:04:00",
"url": "https://files.pythonhosted.org/packages/ba/d2/9457e22af27e3a125f5a891abe96b638a9742ee51824425e73512e8c3ae6/kwconfig-1.0.6.tar.gz"
}
],
"1.0.7": [
{
"comment_text": "",
"digests": {
"md5": "69be420aa8e9e83f74da5f067298369a",
"sha256": "fb636b9f93c9f0c22c93509bd00f33941c589d5122bc7b1ee754c31ed15aad5e"
},
"downloads": -1,
"filename": "kwconfig-1.0.7.tar.gz",
"has_sig": false,
"md5_digest": "69be420aa8e9e83f74da5f067298369a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4470,
"upload_time": "2017-06-02T08:49:53",
"url": "https://files.pythonhosted.org/packages/f5/39/e833a4bab26cc415403d05363a748487c9672f6cf34c6a0ade9a4decdafb/kwconfig-1.0.7.tar.gz"
}
],
"1.0.8": [
{
"comment_text": "",
"digests": {
"md5": "f76b28c0ee6b605799667f4bfa310f12",
"sha256": "18e1a8b89b580b0efc93646c14c4dadfcffb7ddf88d5cf95c4debbad8c4651a2"
},
"downloads": -1,
"filename": "kwconfig-1.0.8.tar.gz",
"has_sig": false,
"md5_digest": "f76b28c0ee6b605799667f4bfa310f12",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4466,
"upload_time": "2017-06-02T09:21:58",
"url": "https://files.pythonhosted.org/packages/9c/64/cd6183d48155dfbaa36c8b7e83264387c99349b96d7a7f66d520f17f5aec/kwconfig-1.0.8.tar.gz"
}
],
"1.0.9": [
{
"comment_text": "",
"digests": {
"md5": "5325e19e41ad83aebcb59798c94b5493",
"sha256": "b861078cd627f6b635773faf552e2da67e40da64ea13836a6fa66acddbf9ce03"
},
"downloads": -1,
"filename": "kwconfig-1.0.9.tar.gz",
"has_sig": false,
"md5_digest": "5325e19e41ad83aebcb59798c94b5493",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4464,
"upload_time": "2017-06-03T08:31:49",
"url": "https://files.pythonhosted.org/packages/39/54/7b6969eff7e1c59a7fdadf3ca3ba4ff861eb8a2d4507a2a9a786ef27ad44/kwconfig-1.0.9.tar.gz"
}
],
"1.1.0": [
{
"comment_text": "",
"digests": {
"md5": "2e26bd1856a4540b65dc753a784f68d1",
"sha256": "d122f3626ad9b35313db594f9965b63ef157a47ee890ce0bb26cd72d1314f337"
},
"downloads": -1,
"filename": "kwconfig-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "2e26bd1856a4540b65dc753a784f68d1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4478,
"upload_time": "2017-06-05T09:48:08",
"url": "https://files.pythonhosted.org/packages/f1/81/937a1171238eac02ee754258c27636b951a75a0fd70a56d70a371564c117/kwconfig-1.1.0.tar.gz"
}
],
"1.1.1": [
{
"comment_text": "",
"digests": {
"md5": "ba9ae04ceda4ab8cba7709e48827fc3b",
"sha256": "6d65dba862b7bdda054c6e995e4d8e653b1e2a95884ba3f58e2ca43b36ed1c9d"
},
"downloads": -1,
"filename": "kwconfig-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "ba9ae04ceda4ab8cba7709e48827fc3b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4518,
"upload_time": "2017-06-06T23:08:56",
"url": "https://files.pythonhosted.org/packages/f7/db/6b792d2d9e60028d581b715aeeabec5d765de7fcf03445b85e8764f2ac53/kwconfig-1.1.1.tar.gz"
}
],
"1.1.2": [
{
"comment_text": "",
"digests": {
"md5": "f6694a7ec11db3d4a5584887565f9c90",
"sha256": "e2fd7cea5fd9e24d53b0f25407a133d64be1dff54b4370159a15ee7fe8a3471f"
},
"downloads": -1,
"filename": "kwconfig-1.1.2.tar.gz",
"has_sig": false,
"md5_digest": "f6694a7ec11db3d4a5584887565f9c90",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4498,
"upload_time": "2017-08-16T03:57:58",
"url": "https://files.pythonhosted.org/packages/7a/7d/fcc839a3516eb11c8443e5197e648fb94adcfae74154c0731393e495b4ae/kwconfig-1.1.2.tar.gz"
}
],
"1.1.3": [
{
"comment_text": "",
"digests": {
"md5": "43df6de4bfaf8aeb2b58aca79e239a71",
"sha256": "fb3521dc066650417dc96d152413ff350c98dcd13f648d48817e8e9a86ddf8b9"
},
"downloads": -1,
"filename": "kwconfig-1.1.3.tar.gz",
"has_sig": false,
"md5_digest": "43df6de4bfaf8aeb2b58aca79e239a71",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4725,
"upload_time": "2017-08-16T04:05:54",
"url": "https://files.pythonhosted.org/packages/e6/7c/b952316def8b676da9ed5a8a71c822b4afc4cc0c1496c0998e3e6b3b115b/kwconfig-1.1.3.tar.gz"
}
],
"1.1.4": [
{
"comment_text": "",
"digests": {
"md5": "15be6fb0c69859ce1beec047edd89aec",
"sha256": "1922f93896571f03b0cc13573d26715fb028da1dfa3f3823254b8ab1d70bcc6e"
},
"downloads": -1,
"filename": "kwconfig-1.1.4.tar.gz",
"has_sig": false,
"md5_digest": "15be6fb0c69859ce1beec047edd89aec",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4786,
"upload_time": "2017-08-16T04:23:47",
"url": "https://files.pythonhosted.org/packages/89/5e/bb5cf4afa17ca31b67bcc7b138d46d595031a63da20e56287e0d206ee1dd/kwconfig-1.1.4.tar.gz"
}
],
"1.1.5": [
{
"comment_text": "",
"digests": {
"md5": "2dbc863fdc71b667109310aa60c5fa0d",
"sha256": "20e9c591bab575aa76af36709e6175411d04fae82be513a190840f83461c5e03"
},
"downloads": -1,
"filename": "kwconfig-1.1.5.tar.gz",
"has_sig": false,
"md5_digest": "2dbc863fdc71b667109310aa60c5fa0d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4787,
"upload_time": "2017-08-16T04:35:51",
"url": "https://files.pythonhosted.org/packages/e8/92/0f13b5378221ee3839ad36a14a7bc34ee2bed13a7d5606d16d2eeb9d88e2/kwconfig-1.1.5.tar.gz"
}
],
"1.1.6": [
{
"comment_text": "",
"digests": {
"md5": "c2ed75f21f77adf13eec8c0c579a634d",
"sha256": "534ebdec1d6bdc3af23c99a9e33f166ac35c443cdd438e6142ddfb9092bc874d"
},
"downloads": -1,
"filename": "kwconfig-1.1.6.tar.gz",
"has_sig": false,
"md5_digest": "c2ed75f21f77adf13eec8c0c579a634d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4775,
"upload_time": "2017-08-16T04:56:21",
"url": "https://files.pythonhosted.org/packages/ce/5b/2e1f5ed488d5bb77d33eca1b0b072012d211f6b8066d8bf5556527e48d11/kwconfig-1.1.6.tar.gz"
}
],
"1.1.7": [
{
"comment_text": "",
"digests": {
"md5": "c5dc96dc0ca1b84119da302720ad97f2",
"sha256": "735b3cb21198f4bd2acaff7dcae97b3b0fcb765d73234a0afa635f94e9298e5f"
},
"downloads": -1,
"filename": "kwconfig-1.1.7.tar.gz",
"has_sig": false,
"md5_digest": "c5dc96dc0ca1b84119da302720ad97f2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4809,
"upload_time": "2017-08-16T17:37:15",
"url": "https://files.pythonhosted.org/packages/47/49/87ca96c4c299d24700daf45f4bb8d900b05e15e8c48179b13008fc29c509/kwconfig-1.1.7.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "c5dc96dc0ca1b84119da302720ad97f2",
"sha256": "735b3cb21198f4bd2acaff7dcae97b3b0fcb765d73234a0afa635f94e9298e5f"
},
"downloads": -1,
"filename": "kwconfig-1.1.7.tar.gz",
"has_sig": false,
"md5_digest": "c5dc96dc0ca1b84119da302720ad97f2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4809,
"upload_time": "2017-08-16T17:37:15",
"url": "https://files.pythonhosted.org/packages/47/49/87ca96c4c299d24700daf45f4bb8d900b05e15e8c48179b13008fc29c509/kwconfig-1.1.7.tar.gz"
}
]
}