Skip to main content

CacheStore

Actions Status Python version License pypi version

CacheStore is a simple cache management system for Python functions. You can reuse the cached results even accross different executions.

cachestore command enables you to manage the cached results from command line. Please see --help for more details.

Features

  • Caching execution results by decorating target functions easily
  • Exporting caches into an external storage to reuse them access different exeutions
  • Detecting appropreate caches based on argumetns/source code of functions
  • Changing cache behavior via configuration file (see exmaples)
  • Providing a useful command line tool to manage caches
  • Written in pure Python, no external dependencies

Installation

pip install cachestore

Usage

Python

from cachestore import Cache

cache = Cache()

@cache()
def awesome_function(x, *, y="y", **kwargs):
    ...

CLI

$ cachestore --help
usage: cachestore

positional arguments:
  {list,prune,remove}

optional arguments:
  -h, --help           show this help message and exit
  --version            show program's version number and exit

Metadata

Release files for cachestore 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cachestore 0.4.0
File Size Uploaded Provenance Actions
cachestore-0.4.0.tar.gz 15.5 kB Without provenance Details for cachestore-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cachestore 0.4.0
File Interpreter ABI Platform Actions
cachestore-0.4.0-py3-none-any.whl Python 3 none any Details for cachestore-0.4.0-py3-none-any.whl

Total release size: 39.0 kB

Release files / cachestore-0.4.0.tar.gz

Download URL cachestore-0.4.0.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7f4213efb6b66e83576b3bea46e202f2bdd144f6306015b90e78a5ea18183867
BLAKE2b-256 checksum
How to use checksums
b1098faf515511ca3d63eb71296fa976be0ba9bec25f84387cf6ed5f980ab87e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.13.1 Linux/6.8.0-1021-azure

Release files / cachestore-0.4.0-py3-none-any.whl

Download URL cachestore-0.4.0-py3-none-any.whl
Size 23.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9e81ff935c6d8e33a402c9ac28e61ef5ff5290931bbba46129a9274cf81ff8c
BLAKE2b-256 checksum
How to use checksums
fc8517a50df34caa12f58f4b8cc9fb0431698c1fea65858576f869244755c5bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.13.1 Linux/6.8.0-1021-azure

Security for cachestore 0.4.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page