{ "info": { "author": "Mike Burr", "author_email": "mburr@unintuitive.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Topic :: Software Development", "Topic :: Utilities" ], "description": "``npconf`` is a flexible configuration system whose configuration files are plain python modules. The identifiers\n(left-hand side) are declared by the administrator/developer and are hierarchical. A typical configuration file might\nbe:\n\n.. code-block:: python\n\n myapp.subcomponent.value = 1\n myapp.enabled = True\n\nThe user needn't define \"myapp\". It's automatically included in ``globals()``.\n\nThe administrator/developer can disallow user-defined attributes. This is mostly intended to prevent typos in the\nconfiguration files. In other words, if ``myapp.foo`` is not defined before reading the configuration files, no file\nwill be allowed to set ``myapp.foo``.\n\nThe configuration attributes are normally declared by a program before it reads any configuration files. They can be\ndeclared at init time:\n\n.. code-block:: python\n\n import npconf\n\n root = npconf.ConfigValue(name='myapp', data={'enabled': 'false'})\n # and/or updated after init:\n root.update(data={'thing': None})\n\n # to add another level to the hierarchy:\n\n subcomponent = npconf.ConfigValue(\n name='subcomponent',\n data={\n 'foo': 'banana',\n })\n root.update({'subcomponent': subcomponent})", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/stnbu/npconf/archive/master.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/stnbu/npconf", "keywords": "configuration", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "npconf", "package_url": "https://pypi.org/project/npconf/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/npconf/", "project_urls": { "Download": "https://github.com/stnbu/npconf/archive/master.zip", "Homepage": "https://github.com/stnbu/npconf" }, "release_url": "https://pypi.org/project/npconf/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "A flexible, intuitive native-python configuration system.", "version": "0.0.3" }, "last_serial": 1388442, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "3eb8d4dead03f16cf0cf22dc6c631ce1", "sha256": "d2c98e6bf61113854e9f461b39cfaf1a8a2f7e226d4301f67919e395ad9083e4" }, "downloads": -1, "filename": "npconf-0.0.3.zip", "has_sig": true, "md5_digest": "3eb8d4dead03f16cf0cf22dc6c631ce1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7571, "upload_time": "2015-01-19T23:12:02", "url": "https://files.pythonhosted.org/packages/fe/10/70b5f64c3610914bde4e480b09caf820df5f3e14f499249bb665af32e214/npconf-0.0.3.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3eb8d4dead03f16cf0cf22dc6c631ce1", "sha256": "d2c98e6bf61113854e9f461b39cfaf1a8a2f7e226d4301f67919e395ad9083e4" }, "downloads": -1, "filename": "npconf-0.0.3.zip", "has_sig": true, "md5_digest": "3eb8d4dead03f16cf0cf22dc6c631ce1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7571, "upload_time": "2015-01-19T23:12:02", "url": "https://files.pythonhosted.org/packages/fe/10/70b5f64c3610914bde4e480b09caf820df5f3e14f499249bb665af32e214/npconf-0.0.3.zip" } ] }