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!
Metadata
Release files for extensible-cache 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| extensible-cache-1.0.1.tar.gz | 5.7 kB | Details |
Release files / extensible-cache-1.0.1.tar.gz
| Download URL | extensible-cache-1.0.1.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
207e3237444db682e3c16ccfbdee024b885ea78c33163b9db1ae696b7c9eae69
|
|
BLAKE2b-256 checksum How to use checksums |
2390a0858c594793d9e8a4cb04f1a6ad048780a44eb342fcd627b100cc3b791a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
|