PyFoam.IPythonHelpers.PermanentStorage module

PermanentStorage

Store data permanently in the metadata of a notebook

class PyFoam.IPythonHelpers.PermanentStorage.PermanentStorage[source]

Bases: object

Access the stored values in the notebook

To make sure that only one object is created (so that multiple objects can’t interfer) it is created as a singleton. See: A python singleton: http://code.activestate.com/recipes/52558/