Metadata-Version: 2.4
Name: lmc_external_log_backend
Version: 0.1.0
Summary: External logging backend implementation for LMCache
Home-page: https://github.com/yourusername/lmc_external_log_backend
Author: Your Name
Author-email: your.email@example.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: torch
Requires-Dist: lmcache
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# LMCache External Log Backend

This project provides an external logging backend implementation for LMCache.

## Features
- Implements the `StorageBackendInterface` from LMCache
- Logs all backend operations (put, get, prefetch, pin, etc.)
- Easy to integrate with existing LMCache systems

## Installation

```bash
pip install lmc_external_log_backend
```

## Usage

To use this backend in your LMCache configuration:

1. Add the following to your LMCache extra_config:
```json
{
  "external_backend.log_backend": {
    "module_path": "lmc_external_log_backend",
    "class_name": "ExternalLogBackend"
  }
}
```

2. Enable external backends in your LMCache config:
```python
config.external_backends = ["log_backend"]
```

## Development

To build the package:
```bash
python setup.py sdist bdist_wheel
```

To install locally:
```bash
pip install -e .
```

## License
Apache-2.0 License
