Skip to main content

remember

Backup to store results of functions, so they do not need to be rerun. As long as the function is unchanged, and the inputs are the same.

from norerun import norerun
@norerun
def count(n):
  for i in range(n):
    pass
  return i

count(1000000000) #this is going to take a few seconds

count(1000000000) #now this is inmediate

A hidden pickle file is created in the current working directory ".bak". It can be deleted to reset the memory, or norerun.flush() will do the same.

Metadata

Release files for norerun 1.0.1

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

Source distribution (sdist)

Source distribution for norerun 1.0.1
File Size Uploaded
norerun-1.0.1.tar.gz 3.0 kB Details

Built distribution (wheel)

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

Total release size: 5.9 kB

Release files / norerun-1.0.1.tar.gz

Download URL norerun-1.0.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bc46d94e39670a9d1c811765eb281b07cf60488b079e5fa22fab3dfcd302c05d
BLAKE2b-256 checksum
How to use checksums
7dad8105e20fc4fb3621f25109d854f11543d40233314f16d9510fdb6f05808e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

Release files / norerun-1.0.1-py3-none-any.whl

Download URL norerun-1.0.1-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70486dca1b93ed87af522ef91ccf6f9441b27206fa85f136d4ec0db5d32e21df
BLAKE2b-256 checksum
How to use checksums
a6d336326b77b2ebd7fa66878db6880cb6d9a9280f074e2389bee0faa3143d75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

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