Skip to main content

Extensible Caching Framework for Python

Project description

PythonCache

Simple Library to do Python Caching

Getting Started

To install, simply use:

pip install extensible-cache

(Planning to add the library to PyPi in the future).

The library is easy to use, just load a cache and provide it some data.

import pandas as pd
from extensible_cache import PandasFileCache

cache = PandasFileCache("./cache_folder")
df = pd.read_csv("test.csv")

cache["my_cool_data"] = df

# ... somewhere later (even after restart) ...

df_new = cache["my_cool_data"]

This allows you to quickly buffer data to files and restore them later on.

Notes

All contribtions are welcome!

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

extensible-cache-1.0.1.tar.gz (5.7 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