{ "info": { "author": "Fahrzin Hemmati", "author_email": "fahhem@chainreactionmfg.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", "Topic :: Software Development", "Topic :: Utilities" ], "description": "confing\n=======\n\n|Build Status| |Coverage Status| |Documentation Status| |PyPI Version|\n|PyPI License|\n\nDescribed configuration for large, complex projects. `Read the\ndocs! `__\n\nFeatures\n--------\n\n- Define config keys using a nicer API to colander.\n- Get config values as a callable before loading or directly\n afterwards.\n- Define multiple 'confers' to allow large codebases to be worked on\n independently.\n\nQuick Usage\n-----------\n\nFirstly, define the key(s) you want to be in the config file. They can\nbe any type colander supports, even custom types. Builtin types can be\naccessed more easily through the included ``data`` module.\n\n.. code:: python\n\n import confing\n from confing import data\n\n confer = confing.getConfer('my_confer_name')\n confer.define(data.String(name='secret_key'))\n\nNext, load the data for the configuration.\n\n.. code:: python\n\n loaded = confer.load({'secret_key': '...'})\n loaded is confer.loaded\n\nLastly, get the key you want out of the config.\n\n.. code:: python\n\n confer.loaded.secret_key\n # or\n confer.loaded['secret_key']\n\nIf you need to pass a configuration value to something either at\nmodule-import time or before the config is loaded, you can pass it a\ncallable that will be the correct value once the config is loaded later.\nThis will only work if the receiving party doesn't attempt to resolve\nthe value before the config is loaded.\n\n\\`\\`python confer.as\\_callable('secret\\_key') \\`\\`\\`\n\nInstall for development\n-----------------------\n\n.. code:: bash\n\n $ pip install --editable .\n\nContributing\n------------\n\nAnyone can help make this project better - read\n`CONTRIBUTION `__ to get started!\n\nLicense\n-------\n\nApache 2.0. See the `LICENSE `__ file for more details.\n\n.. |Build Status| image:: https://img.shields.io/travis/chainreactionmfg/confing/master.svg\n :target: https://travis-ci.org/chainreactionmfg/confing\n.. |Coverage Status| image:: https://img.shields.io/coveralls/chainreactionmfg/confing/master.svg\n :target: https://coveralls.io/r/chainreactionmfg/confing\n.. |Documentation Status| image:: https://readthedocs.org/projects/confing/badge/?version=latest&style=flat\n :target: https://readthedocs.org/projects/confing/?badge=latest\n.. |PyPI Version| image:: https://img.shields.io/pypi/v/confing.svg\n :target: https://pypi.python.org/pypi/confing\n.. |PyPI License| image:: https://img.shields.io/pypi/l/confing.svg\n :target: https://pypi.python.org/pypi/confing", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/fahhem/confing", "keywords": "confing development", "license": "Apache 2.0", "maintainer": null, "maintainer_email": null, "name": "confing", "package_url": "https://pypi.org/project/confing/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/confing/", "project_urls": { "Homepage": "https://github.com/fahhem/confing" }, "release_url": "https://pypi.org/project/confing/0.1.4/", "requires_dist": [ "colander (==1.0)", "setuptools" ], "requires_python": null, "summary": "Described configuration for large, complex projects", "version": "0.1.4" }, "last_serial": 1506234, "releases": { "0.0.1": [], "0.1.0": [ { "comment_text": "", "digests": { "md5": "0ad749c1285b7f0bee74bf901782d048", "sha256": "66a2de2bb6fa5ff137959aada003c58729497509f093b70901aa072d72aecf06" }, "downloads": -1, "filename": "confing-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0ad749c1285b7f0bee74bf901782d048", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5741, "upload_time": "2015-02-24T01:40:27", "url": "https://files.pythonhosted.org/packages/d5/3a/2530ead9cfaf6615eb37916fbe2584a07be062e9f6512419c13cf17137c6/confing-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "50ed383dcc4ce242a2d8d10ff30acb49", "sha256": "7d48e896a0e22f3748205ef6325441ad5f9feac5e5053b14f53323c18488dbf7" }, "downloads": -1, "filename": "confing-0.1.0.tar.gz", "has_sig": false, "md5_digest": "50ed383dcc4ce242a2d8d10ff30acb49", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8835, "upload_time": "2015-02-24T01:40:29", "url": "https://files.pythonhosted.org/packages/48/66/b66743d6367add5014827ba9540b0095cf0d40aa9e80c378612c5620a2c2/confing-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "d950db1eab9567536421eb5af523b036", "sha256": "e510a83e293877453257175c112c886484e7948a24eaaed9e00d6f9d98773dde" }, "downloads": -1, "filename": "confing-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d950db1eab9567536421eb5af523b036", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6172, "upload_time": "2015-04-15T11:31:50", "url": "https://files.pythonhosted.org/packages/a7/76/b19d153e167a0a05bb65f1201668a1269b1590ea42a1c9a2b1b7c3fdd2d8/confing-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c63886d203eabac0b9f6fdaab4f1c8f", "sha256": "15519dfaf599024c917ef3d3a38083ed81aa5b8d0927f90c96389edc8ace6f08" }, "downloads": -1, "filename": "confing-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1c63886d203eabac0b9f6fdaab4f1c8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11878, "upload_time": "2015-04-15T11:31:35", "url": "https://files.pythonhosted.org/packages/da/fa/4ed95df37928f808f62e60e39d9dfc39319f5f7b6dcd42822ac5203869fb/confing-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "48d139c6dbdaae353d69ddfc4f77e5a5", "sha256": "98186d78db91602ee00bcbc3204f1243bd6c1a718b8c4ae745a6104da642b56b" }, "downloads": -1, "filename": "confing-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "48d139c6dbdaae353d69ddfc4f77e5a5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6168, "upload_time": "2015-04-15T11:35:40", "url": "https://files.pythonhosted.org/packages/9d/30/3551b1aa22d3ca8b85765e6ba8a3f54a1073513f06720f6a30e7cfdaf58a/confing-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d48df2de784c30c749e062483401d3c0", "sha256": "d374a418926e1a2f95db8ea6508e1c4ec1f97cae5e9464cc489d736db0c09f10" }, "downloads": -1, "filename": "confing-0.1.2.tar.gz", "has_sig": false, "md5_digest": "d48df2de784c30c749e062483401d3c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11864, "upload_time": "2015-04-15T11:35:44", "url": "https://files.pythonhosted.org/packages/b9/8d/9dfbf4c73152b27e003689fc1c6383f4866350c49f11d96e0a69e0382c5d/confing-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "ea90af19ea7533a1ba3b755a4c2638c9", "sha256": "7ba0391a0e2980bfd342dcf684e4f375d105a755fb00b5bacce67bc3657d1adc" }, "downloads": -1, "filename": "confing-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ea90af19ea7533a1ba3b755a4c2638c9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6168, "upload_time": "2015-04-15T11:43:15", "url": "https://files.pythonhosted.org/packages/d3/f1/57294aec84463f28085828581380a3ce38a050d60bda96c9f563a306c0a3/confing-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "04a29430012f30bb37e9f600a2af072c", "sha256": "cd33487744b1805b03f4ef78fa71c8adaf5750e7d08ae43138e71130b3bd15b4" }, "downloads": -1, "filename": "confing-0.1.3.tar.gz", "has_sig": false, "md5_digest": "04a29430012f30bb37e9f600a2af072c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11865, "upload_time": "2015-04-15T11:43:19", "url": "https://files.pythonhosted.org/packages/76/76/e5b12637fde8f349ac78f4cb89e871f5a2fe665afe663ecd0f253143893c/confing-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "024bfa3468bea1d036530d0e6784972f", "sha256": "f104501dcf5ed03d6a085d68475f80c4790cf3ab047851872e5a969b88a310b4" }, "downloads": -1, "filename": "confing-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "024bfa3468bea1d036530d0e6784972f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6341, "upload_time": "2015-04-15T12:02:33", "url": "https://files.pythonhosted.org/packages/12/07/8166a54fa71fdb5b9f7a8406c1c0734b887fb1bcd7f6b3383261e3d9ad05/confing-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bdf7f10661d567c93dbd5be48c050c06", "sha256": "da439f35763b07b9ca0f842530ed67aa1a5a9ad2afc465091eb6124c517e41de" }, "downloads": -1, "filename": "confing-0.1.4.tar.gz", "has_sig": false, "md5_digest": "bdf7f10661d567c93dbd5be48c050c06", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12146, "upload_time": "2015-04-15T12:02:36", "url": "https://files.pythonhosted.org/packages/d2/5d/5771de021ba6fb14a96bdc5b030a8b8515be34d8a7449354068d7ccf308f/confing-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "024bfa3468bea1d036530d0e6784972f", "sha256": "f104501dcf5ed03d6a085d68475f80c4790cf3ab047851872e5a969b88a310b4" }, "downloads": -1, "filename": "confing-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "024bfa3468bea1d036530d0e6784972f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6341, "upload_time": "2015-04-15T12:02:33", "url": "https://files.pythonhosted.org/packages/12/07/8166a54fa71fdb5b9f7a8406c1c0734b887fb1bcd7f6b3383261e3d9ad05/confing-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bdf7f10661d567c93dbd5be48c050c06", "sha256": "da439f35763b07b9ca0f842530ed67aa1a5a9ad2afc465091eb6124c517e41de" }, "downloads": -1, "filename": "confing-0.1.4.tar.gz", "has_sig": false, "md5_digest": "bdf7f10661d567c93dbd5be48c050c06", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12146, "upload_time": "2015-04-15T12:02:36", "url": "https://files.pythonhosted.org/packages/d2/5d/5771de021ba6fb14a96bdc5b030a8b8515be34d8a7449354068d7ccf308f/confing-0.1.4.tar.gz" } ] }