KEEP IT
This is a WORK IN PROGRESS.
keepit provides advanced memoization to disk for functions.
In other words, it records the results of important functions between executions.
keepit saves the results of calling a function to disk, so calling the function with the exact same parameters will re-use the stored copy of the results, leading to much faster times.
Example usage:
import pandas as pd
from keepit import keepit
@keepit('myresults.tsv')
def expensive_function(number=1):
df = pd.DataFrame()
# Perform a really expensive operation, maybe access to disk?
return df
# When a results file for the function does not exist
# this may take a long time
expensive_function(number=1)
# Now a myresults.tsv_{some hash) has been generated
# This is almost instantaneous:
expensive_function(number=1)
# Files are specific to each parameter execution,
# so this will again take a long time:
expensive_function(number=42)
# After this, we should have two files, one for number=1,
# and another one for number=42.
Metadata
Release files for keepit 0.2.2
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 | |
|---|---|---|---|---|
| keepit-0.2.2.tar.gz | 13.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| keepit-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.3 kB
Release files / keepit-0.2.2.tar.gz
| Download URL | keepit-0.2.2.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed20d6e5a1401e532eb24b7abc58aa39ffcc3571acfbb6125e2abd20be43e1d1
|
|
BLAKE2b-256 checksum How to use checksums |
47d2d996534e282b93b2246276077ce13ec60c0f46ece8737750684163dc9735
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
|
Release files / keepit-0.2.2-py3-none-any.whl
| Download URL | keepit-0.2.2-py3-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e13c519f5cac1642d5ab009f494624692f0eaab4b603096d2db1f5ec0eec46e
|
|
BLAKE2b-256 checksum How to use checksums |
d0c92f0a024bc581f682ab7d09ed02b8f53ef266d23ada77f3f295ff72bd728d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
|
Security for keepit 0.2.2
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.