quiche
Python module for caching the results of functions on disk and/or in memory and reusing them as-needed instead of recomputing them all the time.
pip install quiche
should work, after which:
from quiche import dep
@dep.task((), "base")
def base():
return 7
@dep.task(("base",), "plus_one")
def plus_one(base):
return base + 1
@dep.task(("plus_one",), "times_two")
def times_two(val):
return val*2
ts, val = dep.create("times_two")
print("(7 + 1) * 2 is", val)
should print:
(7 + 1) * 2 is 16
Metadata
Release files for quiche 0.3.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 | Actions |
|---|---|---|---|---|
| quiche-0.3.2.tar.gz | 7.3 kB | Without provenance | Details for quiche-0.3.2.tar.gz |
Release files / quiche-0.3.2.tar.gz
| Download URL | quiche-0.3.2.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6845d6756e5b2e42ac9952b0c1ced9e31bc5631494507da0bd955533334f6005
|
|
BLAKE2b-256 checksum How to use checksums |
b65a5f908da8e1e9ee2bb3452cd4ff32ef00671258b8d9e55748ef4d610bddab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for quiche 0.3.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.