{ "info": { "author": "Beau Gunderson", "author_email": "beau@beaugunderson.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries", "Topic :: Utilities" ], "description": "tini\n----\n\nA simple module for loading ``.ini``-style configuration files.\n\nBased on\n`ConfigParser `__\nand works in Python 2 and Python 3.\n\nRunning tests\n~~~~~~~~~~~~~\n\n.. code:: bash\n\n $ py.test\n\nOr, with ``tox`` (test with multiple Python versions):\n\n.. code:: bash\n\n $ tox\n\nExample\n~~~~~~~\n\nsettings.py\n^^^^^^^^^^^\n\n.. code:: python\n\n import os\n import sys\n\n from tini import Tini\n\n filenames = [\n './foobar.ini',\n os.path.join(os.path.expanduser('~'), '.foobar.ini'),\n os.path.join(os.path.expanduser('~'), '.config', '.foobar.ini'),\n ]\n\n defaults = {\n 'foobar': {\n 'baz': 'a string',\n 'buzz': True,\n 'bizz': 123,\n }\n }\n\n sys.modules[__name__] = Tini(filenames, defaults=defaults)\n\nfoobar.ini\n^^^^^^^^^^\n\n::\n\n [foobar]\n buzz = false\n\ntest.py\n^^^^^^^\n\n.. code:: python\n\n import settings\n\n assert settings.foobar['baz'] == 'a string'\n assert settings.foobar['buzz'] is False\n assert settings.foobar['baz'] == 123", "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/beaugunderson/python-tini", "keywords": "config,configuration,ini", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "tini", "package_url": "https://pypi.org/project/tini/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/tini/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/beaugunderson/python-tini" }, "release_url": "https://pypi.org/project/tini/3.0.1/", "requires_dist": null, "requires_python": null, "summary": "Read simple .ini/configuration files.", "version": "3.0.1" }, "last_serial": 1536158, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "b3742fcf14a08a1e9e4e01e6a0c2a6d5", "sha256": "6838dd03cbc64daa2ff49ac2b4ffc89690fde69c82f9968004a4edbedcd8fbfe" }, "downloads": -1, "filename": "tini-1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b3742fcf14a08a1e9e4e01e6a0c2a6d5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3789, "upload_time": "2015-04-14T23:40:21", "url": "https://files.pythonhosted.org/packages/a9/d2/c25a3b6e402f72ba3c694dc522c76393c72c8a4be9e9abb91c69a87cb639/tini-1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "63f7e10b46410e0b0d6d638ffdefbce3", "sha256": "5f7f6a19fe407f8b15e3e064354ff21282cc0b09a511ae3986366459fe4bcb5b" }, "downloads": -1, "filename": "tini-1.0.tar.gz", "has_sig": false, "md5_digest": "63f7e10b46410e0b0d6d638ffdefbce3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2571, "upload_time": "2015-04-14T23:40:25", "url": "https://files.pythonhosted.org/packages/ed/64/6e4fcd7cac84b2e6125c4ecddfd1d4cfe47e419a9cb4e642244a2dcd78a0/tini-1.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "82569d7071a111ad6a971b41d4df982c", "sha256": "43a5d000f161d1779c3c60c33ec5e563b87b7abf948afbadbecad031c13e17df" }, "downloads": -1, "filename": "tini-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "82569d7071a111ad6a971b41d4df982c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4271, "upload_time": "2015-04-26T16:16:00", "url": "https://files.pythonhosted.org/packages/05/56/9944daeb5629778e1569ed0567c8adc7257bd5902c719024ef7500a36a13/tini-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f455e4219468c8ec5c8f881dcbd742a1", "sha256": "1f2e1d7b323832d7ccc3c43ab971d9720317405641b14eb51f79a3c1a35c58c2" }, "downloads": -1, "filename": "tini-1.1.0.tar.gz", "has_sig": false, "md5_digest": "f455e4219468c8ec5c8f881dcbd742a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2973, "upload_time": "2015-04-26T16:16:04", "url": "https://files.pythonhosted.org/packages/a6/5f/267312a810e75c81d5c419b123351c6b62bb313a3ba018c9ed99932b19c9/tini-1.1.0.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "8fe4671dfa214f6f4dbcf66c65f43e8f", "sha256": "706e8e6d9f5dec32c36df54f6e47d600dbd3445d100bb8e933e79e4bc9f13766" }, "downloads": -1, "filename": "tini-2.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8fe4671dfa214f6f4dbcf66c65f43e8f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4256, "upload_time": "2015-04-26T16:36:57", "url": "https://files.pythonhosted.org/packages/83/94/13c9a16c960c253d68c259b783e8a3aa6465806552c435f7a008eefb4684/tini-2.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9fc27be4a1480cc8a68b32d8773e4f61", "sha256": "740912831b21fadf5a935f86a222cf8c593985999a79bbd73a1b30d888cf5336" }, "downloads": -1, "filename": "tini-2.0.0.tar.gz", "has_sig": false, "md5_digest": "9fc27be4a1480cc8a68b32d8773e4f61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2970, "upload_time": "2015-04-26T16:37:01", "url": "https://files.pythonhosted.org/packages/e9/a0/95431e3765f30bdd907956bbd4d16f7a4b6242219c885e82f4a8181491fd/tini-2.0.0.tar.gz" } ], "3.0.0": [ { "comment_text": "", "digests": { "md5": "b4f045a393b5d235d280fcd35b0829f6", "sha256": "1852ef2f3bef941a8a23decb9de57b86fc466be3b355ed69fe389dc468bb1b54" }, "downloads": -1, "filename": "tini-3.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b4f045a393b5d235d280fcd35b0829f6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4291, "upload_time": "2015-04-26T16:42:26", "url": "https://files.pythonhosted.org/packages/ca/30/7516082318f3d57a4080a907c72003283e67165d0df9639267ad103b8a04/tini-3.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a2bf29ac694fca0ad26a69c67dea78f7", "sha256": "3ba96d8ba9a2681f90ab64a11e6a2c1400a8539c426038cb6f9994c9d944d7f4" }, "downloads": -1, "filename": "tini-3.0.0.tar.gz", "has_sig": false, "md5_digest": "a2bf29ac694fca0ad26a69c67dea78f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2987, "upload_time": "2015-04-26T16:42:30", "url": "https://files.pythonhosted.org/packages/47/33/05d034e12ae58faac0a76557dd8acd6df81f21eb46b37420553689d1ab0b/tini-3.0.0.tar.gz" } ], "3.0.1": [ { "comment_text": "", "digests": { "md5": "f759ad33b8e15c0c0269ed6ea968d592", "sha256": "8062be51e6766c15ec402579fff422d8c2fb46bdb3f0b22bd009f32d8dd79c81" }, "downloads": -1, "filename": "tini-3.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f759ad33b8e15c0c0269ed6ea968d592", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4334, "upload_time": "2015-05-06T18:46:44", "url": "https://files.pythonhosted.org/packages/23/12/db6dc903040bf7e3b86514bc4352d1aab1432db09a27bd36251bd000d2fc/tini-3.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1ed4c89560a0d5c7df81a55e2740c6ff", "sha256": "f856780a90e7a3cdf3aaea56cb8c176fc5f4f8e1d126362cb88ca104f835d99f" }, "downloads": -1, "filename": "tini-3.0.1.tar.gz", "has_sig": false, "md5_digest": "1ed4c89560a0d5c7df81a55e2740c6ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3033, "upload_time": "2015-05-06T18:46:48", "url": "https://files.pythonhosted.org/packages/17/9f/c62f805b94613c9ea1bb16af6b7f7a1fe2baded5eec0c6ab4861e2851f93/tini-3.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f759ad33b8e15c0c0269ed6ea968d592", "sha256": "8062be51e6766c15ec402579fff422d8c2fb46bdb3f0b22bd009f32d8dd79c81" }, "downloads": -1, "filename": "tini-3.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f759ad33b8e15c0c0269ed6ea968d592", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4334, "upload_time": "2015-05-06T18:46:44", "url": "https://files.pythonhosted.org/packages/23/12/db6dc903040bf7e3b86514bc4352d1aab1432db09a27bd36251bd000d2fc/tini-3.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1ed4c89560a0d5c7df81a55e2740c6ff", "sha256": "f856780a90e7a3cdf3aaea56cb8c176fc5f4f8e1d126362cb88ca104f835d99f" }, "downloads": -1, "filename": "tini-3.0.1.tar.gz", "has_sig": false, "md5_digest": "1ed4c89560a0d5c7df81a55e2740c6ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3033, "upload_time": "2015-05-06T18:46:48", "url": "https://files.pythonhosted.org/packages/17/9f/c62f805b94613c9ea1bb16af6b7f7a1fe2baded5eec0c6ab4861e2851f93/tini-3.0.1.tar.gz" } ] }