Holistic data caching system.
Project description
HitSave
Effortless data.
Optimize your team's workflow with cloud memoization, experiment tracking and effortless data versioning. Find out more at https://hitsave.io.
Quickstart
pip install hitsave
Take any functon in your project, decorate it with @memo
.
from hitsave import memo
def dependency(y):
# try changing the method body!
return y + y
@memo
def long_running_function(x):
print(f"Running {x}!")
return x + 2 + dependency(x)
long_running_function(3)
long_running_function(4)
When you run this python file, @memo
will cache the results to disk (and to
our cloud service). When you run the file again, the cache will be used rather
than re-running the function. @memo
analyses the code-dependencies of your
code and determines when to invalidate the cache. You can add @memo
to any
function where the output is picklable.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hitsave-0.3.12.tar.gz
(45.3 kB
view hashes)
Built Distribution
hitsave-0.3.12-py3-none-any.whl
(55.2 kB
view hashes)