Skip to main content

A configuration engine for Python frameworks

Project description

Dectate: a configuration engine for Python frameworks

Dectate is a powerful configuration engine for Python frameworks.

Read the docs

It is used by Morepath.

CHANGES

0.7 (2016-04-11)

  • Fix a few documentation issues.

  • Expose convert_dotted_name and document it.

  • Implement new convert_bool.

  • Allow use of directive name instead of Action subclass as argument to Query.

  • A query_app function which is especially helpful when writing tests for the query tool – it takes unconverted filter arguments.

  • Use newer version of with_metaclass from six.

  • Expose NOT_FOUND and document it.

  • Introduce a new filter_get_value method you can implement if the normal attribute getting and filter_name are not enough.

0.6 (2016-04-06)

  • Introduce a query system for actions and a command-line tool that lets you query actions.

0.5 (2016-04-04)

  • 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.

0.4 (2016-04-01)

  • 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.

0.3 (2016-03-30)

  • 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.

0.2 (2016-03-29)

  • 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.

0.1 (2016-03-29)

  • Initial public release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dectate-0.7.tar.gz (44.2 kB view details)

Uploaded Source

File details

Details for the file dectate-0.7.tar.gz.

File metadata

  • Download URL: dectate-0.7.tar.gz
  • Upload date:
  • Size: 44.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dectate-0.7.tar.gz
Algorithm Hash digest
SHA256 e2f2b44d1744ddd4a54d2f58a9f4f7f6615cd073ccec39917f9e8f651b921d4b
MD5 643d1ec1c717295e228eedb0bae4ae04
BLAKE2b-256 9c59fe837fcf693bfd76df0f7f28b207486d0203bcbd15ea4e593a1eaf92d416

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page