7 lines
386 B
Text
7 lines
386 B
Text
expiringdict is a Python caching library. The core of the library is
|
|
ExpiringDict class which is an ordered dictionary with auto-expiring values for
|
|
caching purposes. Expiration happens on any access, object is locked during
|
|
cleanup from expired values. ExpiringDict cannot store more than max_len
|
|
elements - the oldest will be deleted.
|
|
|
|
WWW: https://github.com/mailgun/expiringdict
|