pygsti.baseobjs.smartcache

pygsti.baseobjs.smartcache#

Defines SmartCache and supporting functions

Functions

digest(obj[, custom_digests])

Returns an MD5 digest of an arbitrary Python object, obj.

smart_cached(obj)

Decorator for applying a smart cache to a single function or method.

Classes

SmartCache([decorating])

Cache object that profiles itself

Exceptions

CustomDigestError

Custom Digest Exception type