I am not very sure how this could be done. But it seems that to achieve that, I need to define a dictionary in the Timer class that will hold all those values. get() and set() method has to be defined in Timer class to get and set those values. Implementation has to be done in the same way as done in core/__init__.py .