Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Memoizer with optional persistence to disk

Project description

Yet another memoizer. I have been using this for a long time. It is simple but useful. Features:

  • Optional persistence to disk, using pickle to save the cache on exit.
  • Configurable cache size. When it is reached a FIFO strategy is used to discard old entries.
  • Stats tracking. Allows to see if memoization is useful for a certain function call.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pmemoize, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size pmemoize-1.0.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page