Skip to main content

Rememberer is a tool to help your functions remember their previous results.

Project description

remember

Rememberer is a tool to help your functions remember their previous results.

Installation

pip install rememberer

Usage

from rememberer import rem

def add(a, b):
    import time
    time.sleep(3)
    return a + b

rem(add, 1, b=2)  # this will take 3 seconds
rem(add, 1, b=2)  # this will take ~0 seconds

Project details


Download files

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

Source Distribution

rememberer-0.1.3.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

rememberer-0.1.3-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page