Python Memoization Versions Save

A powerful caching library for Python, with TTL support and multiple algorithm options.

v0.4.0

2 years ago

Many new features have been shipped in this release!

  1. You can now:
    • check whether the cache contains something (2 APIs)
    • iterate through the cache (4 APIs)
    • remove something from the cache (on-demand partial cache clearing)
  2. SyntaxWarnings can be suppressed now
  3. API documentations are improved with examples
  4. Minor bug fixes
    • #8 Do not require the key maker to have the same signature
    • #10 Caching functions without arguments
    • #14 Partial cache clearing

v0.3.2

3 years ago
  1. [NEW] Full static typing support
  2. Minor bug fixes (#16)

v0.3.1

4 years ago
  1. [NEW] Custom cache keys are now supported!

v0.2.3

4 years ago
  1. Add supports for kwarg-order-independent cache key

v0.2.2

4 years ago
  1. [NEW] python-memoization is now extensible! Add any caching algorithms you like at ease.
  2. Major bug fixes
  3. Better examples
  4. Better test cases
  5. Better code structure, readability and documentation
  6. [REMOVED] Support for Python 2 dropped

v0.1.4

5 years ago
  1. [NEW] Support for thread safety
  2. [NEW] LRU, LFU and FIFO as caching algorithm
  3. [NEW] Cache statistics
  4. More friendly APIs
  5. Major bug fixes
  6. Better documentation
  7. Use strict typing when caching items
  8. [REMOVED] Drop support for partial cache clearing (pending implementation in v0.2.x)
  9. [REMOVED] Drop support for Python 3.2 and 3.3

v0.0.10

5 years ago

Major bug fixes

v0.0.7

5 years ago

Major bug fixes, supporting python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, 3.6, and 3.7

v0.0.6

5 years ago

Stable release available on PyPI

v0.0.3

5 years ago
  1. [NEW] ttl available, e.g. @cached(ttl=5) => cache will be invalidated after 5 seconds
  2. Performance optimization