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.

Source Distribution

quiche-0.3.0.tar.gz (6.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page