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 details)

Uploaded Source

File details

Details for the file extensible-cache-1.0.1.tar.gz.

File metadata

  • Download URL: extensible-cache-1.0.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for extensible-cache-1.0.1.tar.gz
Algorithm Hash digest
SHA256 207e3237444db682e3c16ccfbdee024b885ea78c33163b9db1ae696b7c9eae69
MD5 93a3a645e9285ea19fddd4882a5b6e31
BLAKE2b-256 2390a0858c594793d9e8a4cb04f1a6ad048780a44eb342fcd627b100cc3b791a

See more details on using hashes here.

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