Rememberer is a tool to help your functions remember their previous results.
Project description
rememberer
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.4.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for rememberer-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07225f13d35a02946af4befbcec68cafb8f0c29b83d32feecb6c91a92a86bbcf |
|
MD5 | a1738d52113c18436552158d9f6b6e60 |
|
BLAKE2b-256 | aba5a578cd15a9ba054562f493c58f959ddd518f7dea5202765782857ea866c8 |