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.
Metadata
Release files for pmemoize 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pmemoize-1.0.tar.gz | 1.8 kB | Without provenance | Details for pmemoize-1.0.tar.gz |
Release files / pmemoize-1.0.tar.gz
| Download URL | pmemoize-1.0.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ac73d9bf2cf317103a7f621219b017905efc3be37ece74f026059a070c674ca
|
|
BLAKE2b-256 checksum How to use checksums |
2ac92ca10af76b95c660bcab8b02bd640cd6e7c1fef0375a96eeea64cb82e481
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pmemoize 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.