{ "info": { "author": "Ronny Pfannschmidt, Holger Krekel", "author_email": "opensource@ronnypfannschmidt.de, holger.krekel@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries", "Topic :: Utilities" ], "description": "iniconfig: brain-dead simple parsing of ini files\n=======================================================\n\niniconfig is a small and simple INI-file parser module\nhaving a unique set of features:\n\n* tested against Python2.4 across to Python3.2, Jython, PyPy\n* maintains order of sections and entries\n* supports multi-line values with or without line-continuations\n* supports \"#\" comments everywhere\n* raises errors with proper line-numbers\n* no bells and whistles like automatic substitutions\n* iniconfig raises an Error if two sections have the same name.\n\nIf you encounter issues or have feature wishes please report them to:\n\n http://github.org/RonnyPfannschmidt/iniconfig/issues\n\nBasic Example\n===================================\n\nIf you have an ini file like this::\n\n # content of example.ini\n [section1] # comment\n name1=value1 # comment\n name1b=value1,value2 # comment\n\n [section2]\n name2=\n line1\n line2\n\nthen you can do::\n\n >>> import iniconfig\n >>> ini = iniconfig.IniConfig(\"example.ini\")\n >>> ini['section1']['name1'] # raises KeyError if not exists\n 'value1'\n >>> ini.get('section1', 'name1b', [], lambda x: x.split(\",\"))\n ['value1', 'value2']\n >>> ini.get('section1', 'notexist', [], lambda x: x.split(\",\"))\n []\n >>> [x.name for x in list(ini)]\n ['section1', 'section2']\n >>> list(list(ini)[0].items())\n [('name1', 'value1'), ('name1b', 'value1,value2')]\n >>> 'section1' in ini\n True\n >>> 'inexistendsection' in ini\n False", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/RonnyPfannschmidt/iniconfig", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "iniconfig", "package_url": "https://pypi.org/project/iniconfig/", "platform": "unix,linux,osx,cygwin,win32", "project_url": "https://pypi.org/project/iniconfig/", "project_urls": { "Homepage": "http://github.com/RonnyPfannschmidt/iniconfig" }, "release_url": "https://pypi.org/project/iniconfig/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "iniconfig: brain-dead simple config-ini parsing", "version": "1.0.0" }, "last_serial": 2359957, "releases": { "0.0": [], "0.1": [ { "comment_text": "", "digests": { "md5": "b8922b08e674df235a8c2e2730f91ff1", "sha256": "f0a16b26d6439c6cf0841a1d77d8fe93c6bacdeff9e7d45dadf8fc83a2e56ae1" }, "downloads": -1, "filename": "iniconfig-0.1.tar.gz", "has_sig": false, "md5_digest": "b8922b08e674df235a8c2e2730f91ff1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3948, "upload_time": "2010-10-12T17:42:07", "url": "https://files.pythonhosted.org/packages/47/a6/5075a9c302cafbf63435556c70e209a0715eb92de86ea85e55dbb4282899/iniconfig-0.1.tar.gz" } ], "0.2.dev0": [ { "comment_text": "", "digests": { "md5": "b575d98a890d4896a089b09f660c462b", "sha256": "33fd6d8a36c45871e4fd56801d0549002c3c9fdc347cf90cf63b944303b24ad9" }, "downloads": -1, "filename": "iniconfig-0.2.dev0.tar.gz", "has_sig": false, "md5_digest": "b575d98a890d4896a089b09f660c462b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4013, "upload_time": "2010-10-14T12:02:08", "url": "https://files.pythonhosted.org/packages/59/af/786e6cf4db2fe22427f7819db46ae194908eed48a9a35f2071a722e3c655/iniconfig-0.2.dev0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "1b540c1e0c5648773e0950cdf84834a8", "sha256": "aa0b40f50a00e72323cb5d41302f9c6165728fd764ac8822aa3fff00a40d56b4" }, "downloads": -1, "filename": "iniconfig-1.0.0.tar.gz", "has_sig": false, "md5_digest": "1b540c1e0c5648773e0950cdf84834a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7807, "upload_time": "2016-09-23T17:05:09", "url": "https://files.pythonhosted.org/packages/9d/6f/7187ac1996add14e220e565cad9867eb0b90b5fda523357f5ba52ee16d31/iniconfig-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1b540c1e0c5648773e0950cdf84834a8", "sha256": "aa0b40f50a00e72323cb5d41302f9c6165728fd764ac8822aa3fff00a40d56b4" }, "downloads": -1, "filename": "iniconfig-1.0.0.tar.gz", "has_sig": false, "md5_digest": "1b540c1e0c5648773e0950cdf84834a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7807, "upload_time": "2016-09-23T17:05:09", "url": "https://files.pythonhosted.org/packages/9d/6f/7187ac1996add14e220e565cad9867eb0b90b5fda523357f5ba52ee16d31/iniconfig-1.0.0.tar.gz" } ] }