LMCache External Log Backend
This project provides an external logging backend implementation for LMCache.
Features
- Implements the
StorageBackendInterfacefrom LMCache - Logs all backend operations (put, get, prefetch, pin, etc.)
- Easy to integrate with existing LMCache systems
Installation
pip install lmc_external_log_backend
Usage
To use this backend in your LMCache,
Add the following to your LMCache Configuration:
chunk_size: 64
local_cpu: False
max_local_cpu_size: 5
external_backends: "log_external_backend"
extra_config:
external_backend.log_external_backend.module_path: lmc_external_log_backend.lmc_external_log_backend
external_backend.log_external_backend.class_name: ExternalLogBackend
Development
To build the package:
python setup.py sdist bdist_wheel
To install locally:
pip install -e .
License
Apache-2.0 License
Metadata
Release files for lmc-external-log-backend 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lmc_external_log_backend-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for lmc_external_log_backend-0.1.2-py3-none-any.whl |
Release files / lmc_external_log_backend-0.1.2-py3-none-any.whl
| Download URL | lmc_external_log_backend-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc9a30294c2108e1052f7e56ce627ab5402297723c3e9ae47ba46b5445d7c2c9
|
|
BLAKE2b-256 checksum How to use checksums |
c96a2bac873f1d6d1a08c358f7d5f245ffaefe38c9fd5317fa04a60b5b19373d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Security for lmc-external-log-backend 0.1.2
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.