Skip to main content

template-id: T-PKG-RME template-version: 1.0 applies-to: README.md registry: package

cloud_dog_cache

Platform caching package for LLM and tool call results.

Quick Start

from cloud_dog_cache import cached, init_cache, CacheConfig

# Initialise
init_cache(CacheConfig(enabled=True, backend="memory", ttl_seconds=3600))

# Decorate async functions
@cached(ttl=3600, invalidate_on=["context_rebuild"])
async def generate_sql(query: str, context_hash: str) -> str:
    ...

Backends

  • memory (default) — In-memory LRU with configurable max entries
  • redis — Redis-backed with tag-based invalidation

Invalidation

  • TTL-based expiry
  • Event-based: invalidate_event("context_rebuild")
  • Manual: await manager.flush()

Metadata

Release files for cloud-dog-cache 0.2.3

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

Source distribution (sdist)

Source distribution for cloud-dog-cache 0.2.3
File Size Uploaded Provenance
cloud_dog_cache-0.2.3.tar.gz 25.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cloud-dog-cache 0.2.3
File Interpreter ABI Platform
cloud_dog_cache-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 50.7 kB

Release files / cloud_dog_cache-0.2.3.tar.gz

Download URL cloud_dog_cache-0.2.3.tar.gz
Size 25.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0c0ea62cc748851b38d276b1eb4e85f6be326ac4a7d50e828e180bef544e25dd
BLAKE2b-256 checksum
How to use checksums
758c294a04d3708da2844e5c4c7e7beb2844e261fcd0cee6cd1e222d6a1b9e33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / cloud_dog_cache-0.2.3-py3-none-any.whl

Download URL cloud_dog_cache-0.2.3-py3-none-any.whl
Size 25.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c7da84f56c7ca6b9c3df963a36c948bd6c2247529d4351409f7ccb6a1f5f91fe
BLAKE2b-256 checksum
How to use checksums
ff6109148a99872a946e143b6626991e8a279b2461238bb8346c694da509c974
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for cloud-dog-cache 0.2.3

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.

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