Metadata-Version: 2.4
Name: PyperCache
Version: 0.1.1
Summary: Durable file-backed caching for JSON-like data with pluggable storage backends
Author-email: Brandon Bahret <your.email@example.com>
Maintainer-email: Brandon Bahret <your.email@example.com>
License: MIT License
        
        Copyright (c) 2026 Brandon Bahret
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
Project-URL: Homepage, https://github.com/BrandonBahret/PyperCache
Project-URL: Documentation, https://github.com/BrandonBahret/PyperCache/tree/master/docs
Project-URL: Source, https://github.com/BrandonBahret/PyperCache
Project-URL: Repository, https://github.com/BrandonBahret/PyperCache
Project-URL: Issues, https://github.com/BrandonBahret/PyperCache/issues
Project-URL: Changelog, https://github.com/BrandonBahret/PyperCache/blob/master/CHANGELOG.md
Keywords: cache,persistence,json,pickle,sqlite,storage
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Distributed Computing
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: lark>=1.1.0
Requires-Dist: jsonpickle>=3.0.0
Requires-Dist: msgpack>=1.0.0
Dynamic: license-file

# 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

```bash
pip install pypercache
```

Or install from source:

```bash
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

```bash
pytest
```

## License

MIT License (see LICENSE file)
