Skip to main content

Durable file-backed caching for JSON-like data with pluggable storage backends

Project description

PyperCache

A Python library providing durable file-backed caching for JSON-like data with pluggable storage backends (pickle, JSON, chunked manifest, SQLite), optional TTL and staleness semantics, read-only query navigation, and append-only request logging.

Installation

pip install pypercache

Or install from source:

git clone https://github.com/BrandonBahret/PyperCache.git
cd PyperCache
pip install .

Quick Start

See the full documentation, examples, and API reference on GitHub:

https://github.com/BrandonBahret/PyperCache/tree/master/docs

Features

  • Pluggable Backends: Choose storage by file extension (.pkl, .json, .manifest, .db)
  • TTL & Staleness: Optional expiry and acceptable staleness windows
  • Typed Objects: Decorate classes for automatic serialization/deserialization
  • Query Navigation: Safe, read-only JSON path queries with filters
  • Request Logging: Thread-safe JSONL audit trails

Testing

pytest

License

MIT License (see LICENSE file)

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

pypercache-0.1.1.tar.gz (58.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypercache-0.1.1-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

Details for the file pypercache-0.1.1.tar.gz.

File metadata

  • Download URL: pypercache-0.1.1.tar.gz
  • Upload date:
  • Size: 58.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for pypercache-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0890b0d035da6734c7bc7fda76fb2c796eeed5e4ce1d91ecdcc514cea8ea560c
MD5 29c884ae01390934a481b57dc299abab
BLAKE2b-256 97f4ad64bda21972ca444060fac4df8f9bde2750260a2a51518287b3f9864501

See more details on using hashes here.

File details

Details for the file pypercache-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pypercache-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 36.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for pypercache-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bd68b98305f53aea1e85cf004516af30479f4b600bd0a0b59c1664b18bbcdaaa
MD5 5ab7894a9f669a5d51d7c338299312eb
BLAKE2b-256 5b7b6f65095ee0af96c634ee6548f05e95e9e900f87308b4f2b9a564fb1cdf11

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page