kvblockd: Python client for the KVStash KV-cache store
kvblockd talks to the KVStash daemon, a separate server that stores LLM KV-cache blocks in DRAM, NVMe and S3
so engines can skip recomputing long prompts. This package is the client only; the engine adapters
(vllm-kvblockd, sglang-kvblockd, lmcache-kvblockd) install it for you.
1. Get the daemon (free download)
curl -fsSL https://kvstash.com/install.sh | sh # Linux x86-64/arm64, macOS arm64 for development
Then start it with the two-minute quickstart: https://kvstash.com/docs/quickstart/
2. Use the client
pip install kvblockd
from kvblockd.client import Client
c = Client("127.0.0.1:9440", namespace="demo", token="demo-token")
c.put(b"k" * 32, b"hello") # keys are 32 bytes
print(c.batch_exists([b"k" * 32])) # (1, [True])
values, statuses = c.batch_get_bytes([b"k" * 32])
c.close()
- Full API: https://kvstash.com/docs/python-client/
- From another machine or a cloud VPC: https://kvstash.com/docs/connect-an-engine/#network
- Troubleshooting: https://kvstash.com/docs/troubleshooting/
Python 3.10 or newer.
Metadata
Release files for kvblockd 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kvblockd-0.2.0.tar.gz | 109.2 kB | Without provenance | Details for kvblockd-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kvblockd-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for kvblockd-0.2.0-py3-none-any.whl |
Total release size: 143.1 kB
Release files / kvblockd-0.2.0.tar.gz
| Download URL | kvblockd-0.2.0.tar.gz |
|---|---|
| Size | 109.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b82cde7c300989ec2786fb45123c0288a9fdf898f9a775c005372c0ec9b501d
|
|
BLAKE2b-256 checksum How to use checksums |
e5e69f6881d220bb0b6206b5362b960ae09f98ed238f26ac2d5f6355ebe847e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / kvblockd-0.2.0-py3-none-any.whl
| Download URL | kvblockd-0.2.0-py3-none-any.whl |
|---|---|
| Size | 33.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f5b09d442ab805feea859cf4c9724406d632dabc36c05bda6ab4f5c8182933bf
|
|
BLAKE2b-256 checksum How to use checksums |
33fee50e6a32029bc12a14293cf4eee060523e504123dbd92e8f12b4855210a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for kvblockd 0.2.0
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.