General infrastructure level utilities.
Copyright Schrodinger, LLC. All rights reserved.
|
cached_property
Decorator that converts a method with a single self argument into a
property cached on the instance.
|
|
CreateWhenNeeded
This class can be used like property() (i.e., it is a descriptor;
see section 3.3.2.2 in the python reference).
|
|
DecoratorAndContextManager
An abstract base class for context managers that can also be used
to decorate functions and classes.
|
|
OneIndexedList
A list that starts at one instead of zero
|