Oxia Python Client SDK
Python client for Oxia, a scalable metadata store and coordination system for large-scale distributed systems.
Getting Started | Documentation | Discussion
Requirements
- Python 3.10+
Installation
pip install oxia
Quick start
import oxia
with oxia.Client('localhost:6648') as client:
# Put a value
key, version = client.put('/my-key', b'my-value')
# Get it back
key, value, version = client.get('/my-key')
# Conditional put (only if version matches)
key, version = client.put('/my-key', b'new-value',
expected_version_id=version.version_id())
# List keys in a range
keys = client.list('/my-', '/my-~')
# Delete
client.delete('/my-key')
Features
- CRUD operations:
put,get,delete,delete_range - Range queries:
list(keys only),range_scan(keys + values) - Conditional writes: version-based optimistic concurrency via
expected_version_id - Ephemeral records: session-scoped keys that are removed when the client disconnects
- Notifications: subscribe to real-time change events
- Sequential keys: server-assigned monotonic key suffixes
- Secondary indexes: additional lookup keys on records
- Partition routing: co-locate related records on the same shard via
partition_key - Floor/Ceiling/Lower/Higher lookups: nearest-key queries
For the full API reference, see the documentation.
Contributing
Please star the project if you like it!
Feel free to open an issue or start a discussion. See CONTRIBUTING.md for development setup and guidelines.
License
Copyright 2025 The Oxia Authors
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
Metadata
Release files for oxia 0.2.1
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 |
|---|---|---|---|---|
| oxia-0.2.1.tar.gz | 81.7 kB | Without provenance | Details for oxia-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| oxia-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for oxia-0.2.1-py3-none-any.whl |
Total release size: 117.9 kB
Release files / oxia-0.2.1.tar.gz
| Download URL | oxia-0.2.1.tar.gz |
|---|---|
| Size | 81.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77ec10ce4a96e129866feb000d84dc74a32af2e6512c5417c57c5ccdac8022ef
|
|
BLAKE2b-256 checksum How to use checksums |
9ff63c1d27466a69e69a953f76192d894644f57fc552744ea1ef723d01863925
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / oxia-0.2.1-py3-none-any.whl
| Download URL | oxia-0.2.1-py3-none-any.whl |
|---|---|
| Size | 36.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
219ca7ecc506a902465bd57c28a012ee45d7eab70220ab35046384b9300908d6
|
|
BLAKE2b-256 checksum How to use checksums |
73b4d8f0e76b6cef1abfceb9d645e6cefd27273173bbd059d5f819376db6b500
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for oxia 0.2.1
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.