Skip to main content

Make-like system for caching Python function results. Compatible with keras.

Project description

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

Project details


Download files

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

Files for quiche, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size quiche-0.3.2.tar.gz (7.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page