Created by: castarco
What is this Python project?
A caching library that provides LRU & TTL caching, plus memoization decorators.
Describe features.
What's the difference between this Python project and similar ones?
functools
Compared to - it provides async support out of the box
- it provides ttl caching out of the box
Compared to many other caching libraries in the same niche
- simpler approach (it does not consider object sizes, only its count)
- simpler & more performant approach for ttl caching (using
monotonic
instead ofdatetime
) - more correct approach (when it comes to
__hash__
and__eq__
functions) - ability to discard emptyish/nullish values from being cached at the decorator level
- proper type hints
--
Anyone who agrees with this pull request could submit an Approve review to it.