Skip to main content

Callback registry

Project description

# FLEX

[![Build Status](https://travis-ci.org/simpleenergy/devolve.png)](https://travis-ci.org/simpleenergy/devolve) [![Documentation Status](https://readthedocs.org/projects/devolve-swagger/badge/?version=latest)](https://readthedocs.org/projects/devolve-swagger/?badge=latest) [![PyPi version](https://pypip.in/v/devolve/badge.png)](https://pypi.python.org/pypi/devolve) [![PyPi downloads](https://pypip.in/d/devolve/badge.png)](https://pypi.python.org/pypi/devolve)

[Documentation on ReadTheDocs](http://devolve.readthedocs.org/en/latest/)

Devolve is a callback registry. Callable objects can be registered against a set of keys. The registry can then be used to delegate a single call across all of the registered callables and to gather all of the returned key/value pairs into a single mapping.

## Features

  • Prevents duplicate registration of the same key.

  • Validation that a callable did not return any extra keys.

  • Validation that a callable returned all of the keys it was registered for.

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

devolve-1.0.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distributions

devolve-1.0.0.macosx-10.10-x86_64.tar.gz (3.0 kB view hashes)

Uploaded Source

devolve-1.0.0-py2-none-any.whl (4.8 kB view hashes)

Uploaded Python 2

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