Skip to main content

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

This version
History Node

1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pmemoize-1.0.tar.gz (1.8 kB) Copy SHA256 hash SHA256 Source None Apr 10, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page