Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Observable versions of python data structures

Project description

Observable versions of python data structures

Build Status Coverage Status Docs Status Package Status

This library is meant to be API compatible with standard Python objects, but with the addition of observability. Currently supports Lists and Dictionaries.

A simple use looks like this:

>>> from perceptible import ObservableDictionary
>>> def observer(o):
...     print('observer was called with', o)
...
>>> o_dict = ObservableDictionary()
>>> o_dict.add_observer(observer)
>>> o_dict['key'] = 'value'
observer was called with {'key': 'value'}

Installation is as simple as installing via pip.

pip install perceptible

Project details


Download files

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

Files for perceptible, version 0.4.2
Filename, size File type Python version Upload date Hashes
Filename, size perceptible-0.4.2-py2.py3-none-any.whl (4.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size perceptible-0.4.2.tar.gz (19.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page