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 any

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

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page