circuitmatter.nonvolatile

Classes

PersistentDictionary

This acts like a dictionary and is persisted when values change.

Module Contents

class circuitmatter.nonvolatile.PersistentDictionary(filename=None, root=None, state=None)

This acts like a dictionary and is persisted when values change.

filename
root
dirty = False
persisted
wrap(value)
__setitem__(key, value)
__getitem__(key)
__delitem__(key)
keys()
__iter__()
commit()