Skip to main content

A python decorator that tracks added and changed elements of the decorated object.

Project description

Build Status

This repo lives both in Github and BitBucket.

History Object

An Object implementation that tracks added and changed elements.


>>> from history_object import History
>>> @History()
>>> class T():
>>>     def __init__(self, x):
>>>        self.x = x
>>> test = T("Hello World")
>>> test.history['x']         # [None, "Hello World"]
>>> test.x = "Goodbye World"
>>> test.history['x']         # [None, "Hello World", "Goodbye World"]


You can run the tests using tox



To publish a new version of this package your Pypi user needt to be added to the project. (Ask Connor to give you access)

# Update version number in

python sdist
twine upload dist/*

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
history-object-0.2.2.tar.gz (2.3 kB) Copy SHA256 hash SHA256 Source None

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