{ "info": { "author": "Michal Kuffa", "author_email": "michal.kuffa@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development" ], "description": "confiskus\n=========\n\n\nConfiskus is ini-file parse helper with simple inheritance feature.\n\n\nInstall\n-------\n\n.. code:: bash\n\n $ pip install confiskus\n\n\nUsage\n-----\n\nInheritance is accomplished by ``extends`` option in ``default`` section.\n\nContent of ``dev_conf.ini``.\n\n:: \n\n [default]\n extends = base.ini\n\n [webservice]\n url = https://localhost:6543\n\n\nContent of ``base.ini``.\n\n::\n\n [webservice]\n user = web_service_user\n password = papluhaogrcalmikrpce\n url = https://ws.otherserver.com\n\n\nNow while reading ``dev_conf.ini`` confiskus will pick up also ``base.ini``.\n\n.. code:: pycon\n\n >>> import confiskus\n >>> config = confiskus.Confiskus().read('dev_conf.ini')\n >>> config.get('webservice', 'url')\n 'https://localhost:6543'\n >>> config.get('webservice', 'user')\n 'web_service_user'", "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/beezz/confiskus", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "confiskus", "package_url": "https://pypi.org/project/confiskus/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/confiskus/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/beezz/confiskus" }, "release_url": "https://pypi.org/project/confiskus/1.0.6/", "requires_dist": null, "requires_python": null, "summary": "INI style files parser with basic inheritance feature.", "version": "1.0.6" }, "last_serial": 910381, "releases": { "1.0.6": [ { "comment_text": "", "digests": { "md5": "772aee4bbbed9ac06740b7e95fe01cd4", "sha256": "ca817e8a48dfa4a195c20d2405a313fe2ffc73bca33abe03541a3190b5f34973" }, "downloads": -1, "filename": "confiskus-1.0.6.tar.gz", "has_sig": false, "md5_digest": "772aee4bbbed9ac06740b7e95fe01cd4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2976, "upload_time": "2013-11-03T23:36:16", "url": "https://files.pythonhosted.org/packages/16/cf/1ca1b4661c95989c6cfc61b5106759d1c5f7c2bae3a7250450b3431837e8/confiskus-1.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "772aee4bbbed9ac06740b7e95fe01cd4", "sha256": "ca817e8a48dfa4a195c20d2405a313fe2ffc73bca33abe03541a3190b5f34973" }, "downloads": -1, "filename": "confiskus-1.0.6.tar.gz", "has_sig": false, "md5_digest": "772aee4bbbed9ac06740b7e95fe01cd4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2976, "upload_time": "2013-11-03T23:36:16", "url": "https://files.pythonhosted.org/packages/16/cf/1ca1b4661c95989c6cfc61b5106759d1c5f7c2bae3a7250450b3431837e8/confiskus-1.0.6.tar.gz" } ] }