eloqstore — Python SDK
Python SDK for EloqStore, a high-performance hybrid-tier key-value storage engine. Combines object storage (S3) with local NVMe SSDs for exceptional write throughput and sub-millisecond read latency.
Installation
pip install eloqstore
Requires Linux kernel 6.8+ (uses io_uring).
Quick Start
from eloqstore import Client, Options
client = Client(Options(table_name="demo", partition_id=0, num_threads=1))
client.put("hello", b"world")
assert client.get("hello") == b"world"
assert client.exists("hello")
client.delete("hello")
client.close()
Disk Persistence
from eloqstore import Client, Options
client = Client(
Options(
store_paths=["/data/eloqstore"],
table_name="mydb",
partition_id=0,
num_threads=4,
)
)
client.put("key", b"value")
client.close()
# Data persists — reopen later with the same store_paths
INI Configuration
from eloqstore import Client, Options
client = Client(
Options(
store_paths=["/data/eloqstore"],
options_path="/etc/eloqstore.ini",
table_name="mydb",
partition_id=0,
branch="feature-x",
term=7,
)
)
API
| Method | Description |
|---|---|
Client(options) |
Create a client with Options |
put(key, value, *, timestamp) |
Upsert a key-value pair |
get(key) |
Get value by key, returns None if missing |
get_into(key, out_buffer) |
Read value into a pre-allocated buffer |
exists(key) |
Check if key exists |
delete(key, *, timestamp) |
Delete a key |
batch_put(items, *, timestamp) |
Batch upsert multiple key-value pairs |
batch_get(keys) |
Batch get multiple values |
batch_delete(keys, *, timestamp) |
Batch delete multiple keys |
close() |
Close the store, release resources |
Building from Source
cd python
python -m pip install build
python -m build --wheel
pip install dist/*.whl
If the shared library is not auto-discovered, set:
export ELOQSTORE_PY_LIB=/path/to/libeloqstore_capi.so
License
BSL 2.0 or AGPL 3.0 (dual-licensed). See LICENSE.md.
Metadata
Release files for eloqstore 1.1.1
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 | Reset |
|---|---|---|---|---|
| eloqstore-1.1.1-py3-none-manylinux_2_31_x86_64.whl | Python 3 | none | Linux glibc 2.31+ x86-64 | Details |
Release files / eloqstore-1.1.1-py3-none-manylinux_2_31_x86_64.whl
| Download URL | eloqstore-1.1.1-py3-none-manylinux_2_31_x86_64.whl |
|---|---|
| Size | 926.5 kB |
| Tags | Linux glibc 2.31+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
5eab69f86456cc0a1c8d6468c0ed34193d39aa012ca417edc8d2b576f238737c
|
|
BLAKE2b-256 checksum How to use checksums |
4ab9b5b4a603ef3bdc8565ac59836acb4d1ef93e12356d5ca9612d3d3e7ab68c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 15, 2026.
Transparency log