{ "info": { "author": "Agendaless Consulting", "author_email": "repoze-dev@lists.repoze.org", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Programming Language :: Python", "Programming Language :: Python :: 2.4", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "repoze.configuration README\n===========================\n\n``repoze.configuration`` is a package that software developers can use\nas a configuration system. It allows the use of ``YAML`` as a\nconfiguration language. Application-defined \"directives\" can be\nplugged in to ``repoze.configuration`` using one or more Python\nsetuptools entry points. For example, you could make sense out of the\nfollowing YAML using repoze.configuration and a custom \"appsettings\"\ndirective::\n\n --- !appsettings\n port_number = 8080\n reload_templates = true\n\n --- !include\n filename = anotherfile.yml\n\nPlease see docs/index.rst or `http://docs.repoze.org/configuration\n`_ for more documentation.\n\n\nrepoze.configuration Changelog\n==============================\n\n0.8 (2012-03-29)\n----------------\n\n- This release is the last which will maintain support for Python 2.4 /\n Python 2.5.\n\n- Added support for continuous integration using ``tox`` and ``jenkins``.\n\n- Added 'setup.py dev' alias (runs ``setup.py develop`` plus installs\n ``nose`` and ``coverage``).\n\n- Instances of ``repoze.configuration.context.Context`` now inherit\n from ``dict``. Previously, the context object was guaranteed to\n have a subattr named ``registry`` which was presumed to be dictlike;\n interpolation used this dictionary to resolve names. This\n \"registry\", for interpolation purposes, is now assumed to be the\n context itself. A property alias named ``registry`` has been added\n to the context for bw compat.\n\n- The declaration object's ``registry`` property is now deprecated;\n instead ``declaration.context`` should be used directly.\n\n- Added a class, ``repoze.configuration.imperative.ImperativeConfig``,\n which allows a configuration object to offer an imperative API that is\n based on directives that are discoverable as entry points.\n\n0.7 (2010-02-24)\n----------------\n\n- Allow ``repoze.configuration.context.Context`` constructor to take\n arbitrary keyword arguments. These kw arguments are added to the\n instance ``__dict__`` of the result context object.\n\n- The return value of ``repoze.configuration.context.Context.execute``\n is no longer the ``registry`` attribute of the context object; it is\n instead ``None``. The ``registry`` object is no longer \"special\".\n\n0.6 (2009-12-30)\n----------------\n\n- When ``context.action`` was called with a ``None`` discriminator\n (the default), it would conflict with other actions that did not\n supply a discriminator either.\n\n- If a ``repoze.configuration.directive`` entry point name begins with\n the characters 'tag:', treat the name as a YAML tag URI. YAML tag\n URIs can be aliased at the top of YAML files to shorter ``!bang!``\n names via a YAML %TAG directive (see `YAML global tag prefix\n documentation\n `_.\n\n The intent is to encourage directive writers to register both a\n \"short name\" (a word) and a tag URI for the same entry point\n function. Doing so means that a config file writer can optionally\n use a tag URI (``!``) in place of\n a \"short name\" (``!server``) when the short version can't be used\n due to a conflict between two directives in separate packages that\n share the same short name.\n\n For example, an application might register both ``server =\n pypes.deploy.directives:server`` and\n ``tag:repoze.org,2009:pypes/server =\n pypes.deploy.directives:server`` in a\n ``repoze.configuration.directive`` section within ``setup.py``. A\n config file that used the above entry points might equivalently use\n any of the three below forms as necessary within a given YAML file::\n\n # tag alias\n %TAG !pypes! tag:repoze.org,2009:pypes/\n\n # short name\n --- !server\n name: main\n port: 8082\n host: 0.0.0.0\n\n # rely on tag expansion from %TAG directive\n --- !pypes!server\n name: main\n port: 8082\n host: 0.0.0.0\n\n # use literal tag URI\n --- !\n name: main\n port: 8082\n host: 0.0.0.0\n\n0.5 (2009-07-26)\n----------------\n\n- Add documentation about interpolation.\n\n- Show only line numbers in error reports on console (previously both\n line numbers and column numbers were reported, but the column\n numbers seem to be meaningless in most debugging scenarios).\n\n- Fix an off by one error in line number reporting in errors.\n\n- Interpolation variables now try to use the registry first, but fall\n back to \"stack\" values; the most important of which is ``%(here)s``;\n this interpolation variable can be used in any config file. It will\n be the absolute path to the parent directory of the configuration\n file in which it was declared. Any stack variable will be\n overridden permanently (for interpolation purposes) by a registry\n variable.\n\n0.4 (2009-07-25)\n----------------\n\n- Totally backwards incompatible.\n\n- Instead of accepting \"context\", \"structure\" and \"node\", directives\n now accept \"declaration\" objects. A declaration object has most of\n the methods that used to be supplied by the \"context\", and some new\n ones. The docs have been updated.\n\n0.3 (2009-07-24)\n----------------\n\n- Backwards incompatibility: directives must now accept three\n arguments: context, structure, and node (previously they had only\n accepted context and structure).\n\n- ``error`` method added to context.\n\n- Make discriminator conflict detection actually work.\n\n- Show actual lines from conflicting files when possible during a\n discriminator conflict.\n\n- Ignore import errors when trying to resolve entry point loads.\n\n- Add a ``popvalue`` method to the context; it works like ``getvalue``\n except it pops the value out of the structure supplied instead of\n just getting it.\n\n- It was not possible to resolve the single dot ``.`` using\n repoze.configuration.context.Context.resolve to the current package.\n\n- Using a Python %(interpolation)s marker in any string value allows\n you to replace values in strings. For example, using \"%(here)s\" in\n a string value would attempt to resolve the name \"here\" from the\n registry as a key.\n\n- Use pyyaml's SafeLoader rather than Loader: we don't really need to\n be able to construct arbitrary Python objects.\n\n0.2 (2009-07-13)\n----------------\n\n- Trying to read any directive section that wasn't a YAML mapping\n caused a TypeError (e.g. ``construct_scalar takes no argument\n 'deep'``).\n\n0.1 (2009-06-22)\n----------------\n\n- Initial release.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.repoze.org", "keywords": "repoze configuration", "license": "BSD-derived (http://www.repoze.org/LICENSE.txt)", "maintainer": null, "maintainer_email": null, "name": "repoze.configuration", "package_url": "https://pypi.org/project/repoze.configuration/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/repoze.configuration/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.repoze.org" }, "release_url": "https://pypi.org/project/repoze.configuration/0.8/", "requires_dist": null, "requires_python": null, "summary": "A configuration system using YAML and entry points", "version": "0.8" }, "last_serial": 804594, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "0124ebb3313040bd0547ab28fe4e97e0", "sha256": "83a73f08b983fb25f587c701d138b49f1104103a44c2bba2b8e6c5b1a90c87b3" }, "downloads": -1, "filename": "repoze.configuration-0.1.tar.gz", "has_sig": false, "md5_digest": "0124ebb3313040bd0547ab28fe4e97e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23591, "upload_time": "2009-06-22T21:45:51", "url": "https://files.pythonhosted.org/packages/71/50/c1f70f5b12b301a0fd372ebcc0116d6c602a953cb6e4b4aa58b0a406b6e3/repoze.configuration-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "b9356674c88082d2ce906ccc11a953c7", "sha256": "6b757ed4c159434ccdd38fb0bb274e5bef6c56bbe96fc307642b38e92b0198c3" }, "downloads": -1, "filename": "repoze.configuration-0.2.tar.gz", "has_sig": false, "md5_digest": "b9356674c88082d2ce906ccc11a953c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24056, "upload_time": "2009-07-14T02:32:56", "url": "https://files.pythonhosted.org/packages/95/15/97aed8eab0e1f44e48b98bd339c84925796b1671c25bb1f7742bf609d1df/repoze.configuration-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "85c5669e2788eedd92079bf390c965e4", "sha256": "63b9fab87352eb71ad797632322f9ec73551eb0cf38659dacc9a6c4d71f33f51" }, "downloads": -1, "filename": "repoze.configuration-0.3.tar.gz", "has_sig": false, "md5_digest": "85c5669e2788eedd92079bf390c965e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26993, "upload_time": "2009-07-25T03:22:35", "url": "https://files.pythonhosted.org/packages/ec/6f/e3b97cd5f9c3ceb05f61c11696fa02d1b5985e2cf9ab8151acaca3302da3/repoze.configuration-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "9623ff3aba03f231a45e150c845b4db9", "sha256": "42418dd24cf3d2a24d1068c1af50d591b6e8128d02d65db77176e2ee6c80ae96" }, "downloads": -1, "filename": "repoze.configuration-0.4.tar.gz", "has_sig": false, "md5_digest": "9623ff3aba03f231a45e150c845b4db9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30855, "upload_time": "2009-07-26T04:34:52", "url": "https://files.pythonhosted.org/packages/e2/f7/562adb051801b82aa7c498266a9b17e848d9c587bc4d47615b82f609e1b6/repoze.configuration-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "f4d106e6eabe707f694a5abd261e0557", "sha256": "891c1bc4e6760ea12cc21bcb26043d2be3be5869d76f13e6df13737fc414cae7" }, "downloads": -1, "filename": "repoze.configuration-0.5.tar.gz", "has_sig": false, "md5_digest": "f4d106e6eabe707f694a5abd261e0557", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32323, "upload_time": "2009-07-27T01:52:12", "url": "https://files.pythonhosted.org/packages/24/3b/b1a68c50752abe568b6df33f63ff2aedcf1c6f5c7150251e08cd165f95b9/repoze.configuration-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "f749b3432d899c34d1037272a332699f", "sha256": "bb204e3622b548948e039335784e2358db342530fedbc421267adeac56a87f0f" }, "downloads": -1, "filename": "repoze.configuration-0.6.tar.gz", "has_sig": false, "md5_digest": "f749b3432d899c34d1037272a332699f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34421, "upload_time": "2009-12-31T03:48:36", "url": "https://files.pythonhosted.org/packages/23/22/00779981aa15285791606ac99ef6bf527fd180fc3906400d275e29a5c5a7/repoze.configuration-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "3a7e3b6c84a09d6be6b1a3cb26f9fade", "sha256": "48f7f01c7284da66b7db8762d8ece4da45fbc606e6d1b93615f6269569ce1f69" }, "downloads": -1, "filename": "repoze.configuration-0.7.tar.gz", "has_sig": false, "md5_digest": "3a7e3b6c84a09d6be6b1a3cb26f9fade", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34782, "upload_time": "2010-02-24T23:51:28", "url": "https://files.pythonhosted.org/packages/0b/f1/e6b592da45cd66af989ada7601d5e4dc5af224706b21546b07f776992461/repoze.configuration-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "1667da0977d7159a779f7cc95e2ae0aa", "sha256": "4e93ddd7843d5f9c1ab0a0173f4a0713e88a4ed5fac060c29db600b8c0751eb0" }, "downloads": -1, "filename": "repoze.configuration-0.8.tar.gz", "has_sig": false, "md5_digest": "1667da0977d7159a779f7cc95e2ae0aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33715, "upload_time": "2012-03-30T05:22:58", "url": "https://files.pythonhosted.org/packages/af/fc/2aa7645f183929d08c11a073515be1028a33375f5705dc7a1a4b434ea59a/repoze.configuration-0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1667da0977d7159a779f7cc95e2ae0aa", "sha256": "4e93ddd7843d5f9c1ab0a0173f4a0713e88a4ed5fac060c29db600b8c0751eb0" }, "downloads": -1, "filename": "repoze.configuration-0.8.tar.gz", "has_sig": false, "md5_digest": "1667da0977d7159a779f7cc95e2ae0aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33715, "upload_time": "2012-03-30T05:22:58", "url": "https://files.pythonhosted.org/packages/af/fc/2aa7645f183929d08c11a073515be1028a33375f5705dc7a1a4b434ea59a/repoze.configuration-0.8.tar.gz" } ] }