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