A configuration engine for Python frameworks
Dectate: a configuration engine for Python frameworks
Dectate is a powerful configuration engine for Python frameworks.
It is used by Morepath.
Breaking change The signature of commit has changed. Just pass in one or more arguments you want to commit instead of a list. See #8.
Expose code_info attribute for action. The path in particular can be useful in implementing a directive such as Morepath’s template_directory. Expose it for composite too.
Report a few more errors; you cannot use config, before or after after in an action class if group_class is set.
Raise a DirectiveReportError if a DirectiveError is raised in a composite actions method.
Document importscan package that can be used in combination with this one.
Introduced factory_arguments feature on config factories, which can be used to create dependency relationships between configuration.
Fix a bug where config items were not always properly reused. Now only the first one in the action class dependency order is used, and it is not recreated.
Remove clear_autocommit as it was useless during testing anyway. In tests just use explicit commit.
Add a dectate.sphinxext module that can be plugged into Sphinx so that directives are documented properly.
Document how Dectate deals with double imports.
Initial public release.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.