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 | Provenance | Actions |
|---|---|---|---|---|
| extensible-cache-1.0.1.tar.gz | 5.7 kB | Without provenance | Details for extensible-cache-1.0.1.tar.gz |
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
|
Security for extensible-cache 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.