{ "info": { "author": "Ernesto Crespo", "author_email": "ecrespo@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# pywrapper-config\nWrapper to ConfigParser \n\ntests.conf file:\n```\n[time]\npidfile_timeout = 5\n\n[server]\nip = \"127.0.0.1\"\nport = \"8080\"\n```\n\ntests2.conf file:\n```\n[time]\nsleep = 3\n\n[paths]\nnull = /dev/null\nstdout = /dev/tty\nstderr = /dev/tty\n\n[conex]\nport = 9080\n```\n\n\n\nHow to use pywraper-config:\n```\nimport pywrapper_config\n\n\nconfig = pywrapper_config.Config(\"./tests.conf\")\n#Show sections \nprint(\"Sections: {0} \".format(config.show_sections()))\n#Show server section\nprint(\"Items server section: {0} \".format(config.show_item_section(\"server\")))\n#Show ip server\nprint(\"IP: {0}\".format(config.show_value_item(\"server\",\"ip\")))\n#Show config file\nprint(\"Config file: {0}\".format(config.cnffile))\n#Change config file\nconfig.cnffile = \"./conf/tests2.py\"\nprint(\"Config file: {0}\".format(config.cnffile))\n#Show sections from new config file \nprint(\"Secciones: {0}\".format(config.show_sections()))\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://github.com/ecrespo/pywrapper-config", "keywords": null, "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "pywrapper_config", "package_url": "https://pypi.org/project/pywrapper_config/", "platform": "i386,AMD64", "project_url": "https://pypi.org/project/pywrapper_config/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ecrespo/pywrapper-config" }, "release_url": "https://pypi.org/project/pywrapper_config/0.3.2/", "requires_dist": null, "requires_python": null, "summary": "Wrapper to ConfigParser", "version": "0.3.2" }, "last_serial": 1943845, "releases": { "0.3.2": [ { "comment_text": "", "digests": { "md5": "b17c173909e04372cdf2e9206a46c82f", "sha256": "da9facbc950207a7ed6352b1f18f5d0240e522f86b031874c25d07d266c52fb0" }, "downloads": -1, "filename": "pywrapper_config-0.3.2.tar.gz", "has_sig": false, "md5_digest": "b17c173909e04372cdf2e9206a46c82f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14204, "upload_time": "2016-02-07T05:16:25", "url": "https://files.pythonhosted.org/packages/87/b9/13741f7c6d101b620f258ccb53183a4b2a31f7066d475c81ed7f109715df/pywrapper_config-0.3.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "9145b109c0bbf1264dfa99e898e37a87", "sha256": "511cdfb43658f9c3eabaea1ddf749c3b9f76274af5e66528df34a067ed50ee56" }, "downloads": -1, "filename": "pywrapper_config-0.3.2.zip", "has_sig": false, "md5_digest": "9145b109c0bbf1264dfa99e898e37a87", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15522, "upload_time": "2016-02-07T05:16:17", "url": "https://files.pythonhosted.org/packages/04/48/f7154e4470547bca0b0260b626b3b3acb054f02e488570b60c1adcf7f9b5/pywrapper_config-0.3.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b17c173909e04372cdf2e9206a46c82f", "sha256": "da9facbc950207a7ed6352b1f18f5d0240e522f86b031874c25d07d266c52fb0" }, "downloads": -1, "filename": "pywrapper_config-0.3.2.tar.gz", "has_sig": false, "md5_digest": "b17c173909e04372cdf2e9206a46c82f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14204, "upload_time": "2016-02-07T05:16:25", "url": "https://files.pythonhosted.org/packages/87/b9/13741f7c6d101b620f258ccb53183a4b2a31f7066d475c81ed7f109715df/pywrapper_config-0.3.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "9145b109c0bbf1264dfa99e898e37a87", "sha256": "511cdfb43658f9c3eabaea1ddf749c3b9f76274af5e66528df34a067ed50ee56" }, "downloads": -1, "filename": "pywrapper_config-0.3.2.zip", "has_sig": false, "md5_digest": "9145b109c0bbf1264dfa99e898e37a87", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15522, "upload_time": "2016-02-07T05:16:17", "url": "https://files.pythonhosted.org/packages/04/48/f7154e4470547bca0b0260b626b3b3acb054f02e488570b60c1adcf7f9b5/pywrapper_config-0.3.2.zip" } ] }