{ "info": { "author": "James Thomas Kirkpatrick IV", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "dotini\n======\n\nSummary\n-------\nThis package is a simple layer on top of the built-in configparser module.\nThe advantage of dotini is the option of using dot notation to access\nsettings in a configuration file, provided the settings and section names are\nvalid variable names. This is aesthetically pleasing.\n\nUsage\n-----\nWith the dotini module imported, use the read() function to parse a config-\nuration file. This is done using configparser, for more details regarding\nfile format and rules, see the official documentation for configparser.\n\nOnce the configuration file has been read, it\u2019s settings can be accessed with\ndot notation for settings with valid variable names. Settings without valid\nvariable names can still be accessed with square brackets.\n\n import dotini\n settings = dotini.read(\u2018settings.ini\u2019)\n _login(user=settings.user.name,\n pass=settings.user[\u2018pass\u2019])\n\nNotes\n-----\nAs mentioned previously, to be able to use the dot notation access, settings\nshould be made with variable safe names.\n\nSetting values are read in as strings, and there is no automatic type conversion\nwhen they are stored or accessed. Type conversion is up to you!\n\nExample Configuration File\n\u2014-------------------------\n[user]\nname = \u2018thomas\u2019\npass = \u2018samoht\u2019\n\n[performance]\nspeed = 10\ncores = 4\n\n", "description_content_type": "text/plain", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cloudsickle/dotini", "keywords": "configuration settings ini cfg config", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "dotini", "package_url": "https://pypi.org/project/dotini/", "platform": "", "project_url": "https://pypi.org/project/dotini/", "project_urls": { "Homepage": "https://github.com/cloudsickle/dotini" }, "release_url": "https://pypi.org/project/dotini/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "Dot notation for configuration files.", "version": "0.0.1" }, "last_serial": 4447537, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "1d48b33028784b8621ed874f42a70997", "sha256": "dfb55815e3955d71fef2f31d7457d69cc2dad644c8c7700c6294e18be0b8cc10" }, "downloads": -1, "filename": "dotini-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "1d48b33028784b8621ed874f42a70997", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3496, "upload_time": "2018-11-03T14:40:25", "url": "https://files.pythonhosted.org/packages/8d/ad/5e05590a027c7729296c15bb3a0a49f2ab9254228a3ae828660bbddf3a9d/dotini-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "63c743b811e30d7ef8313b5300ec7657", "sha256": "3ac56e2af6916901f2bb490ac2f530fd715769d80af6768396696faad55c6bd2" }, "downloads": -1, "filename": "dotini-0.0.1.tar.gz", "has_sig": false, "md5_digest": "63c743b811e30d7ef8313b5300ec7657", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2309, "upload_time": "2018-11-03T14:40:26", "url": "https://files.pythonhosted.org/packages/b5/9f/28bfd45e063b2b28cb8230dc0855bfed0b98af5d502de42bcd2e83c4f21f/dotini-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1d48b33028784b8621ed874f42a70997", "sha256": "dfb55815e3955d71fef2f31d7457d69cc2dad644c8c7700c6294e18be0b8cc10" }, "downloads": -1, "filename": "dotini-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "1d48b33028784b8621ed874f42a70997", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3496, "upload_time": "2018-11-03T14:40:25", "url": "https://files.pythonhosted.org/packages/8d/ad/5e05590a027c7729296c15bb3a0a49f2ab9254228a3ae828660bbddf3a9d/dotini-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "63c743b811e30d7ef8313b5300ec7657", "sha256": "3ac56e2af6916901f2bb490ac2f530fd715769d80af6768396696faad55c6bd2" }, "downloads": -1, "filename": "dotini-0.0.1.tar.gz", "has_sig": false, "md5_digest": "63c743b811e30d7ef8313b5300ec7657", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2309, "upload_time": "2018-11-03T14:40:26", "url": "https://files.pythonhosted.org/packages/b5/9f/28bfd45e063b2b28cb8230dc0855bfed0b98af5d502de42bcd2e83c4f21f/dotini-0.0.1.tar.gz" } ] }