Skip to main content

MemoFN

A python library for memoizing functions for quick debugging/translations.

Usage

from memofn import memofn, load_cache, save_cache

def fib(n):
    if n < 2:
        return n
    return fib(n-1) + fib(n-2)

load_cache('fib.cache.pkl')
mfib = memofn(expire_in_days=9)(fib)
mfib(10)
save_cache('fib.cache.pkl')

Metadata

Release files for memofn 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for memofn 0.1.0
File Size Uploaded Provenance Actions
memofn-0.1.0.tar.gz 3.8 kB Without provenance Details for memofn-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for memofn 0.1.0
File Interpreter ABI Platform Actions
memofn-0.1.0-py3-none-any.whl Python 3 none any Details for memofn-0.1.0-py3-none-any.whl

Total release size: 8.1 kB

Release files / memofn-0.1.0.tar.gz

Download URL memofn-0.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4b010364b960f2eea3e4fc11e02552580fbb9ea696edb2830b68cfaf54b531d0
BLAKE2b-256 checksum
How to use checksums
6f81662b883c7d18f123e54bcf2825df4fd389b7bf04c51f96ec4d535a116a1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.10.8 Linux/6.0.5-arch1-1

Release files / memofn-0.1.0-py3-none-any.whl

Download URL memofn-0.1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f07738a6d79744eacac4b43de23fb3db12723ea780a7dbcf90b430e5c4cd143c
BLAKE2b-256 checksum
How to use checksums
c69872ead0cde650454ecea4389fdd51f680fb89009b15d7113fdac98ed5c32e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.10.8 Linux/6.0.5-arch1-1

Security for memofn 0.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page