Python client SDK for MkDB — connects via TCP socket or HTTP.
Project description
MkDB Python Client SDK
Persistent TCP socket and HTTP client for MkDB.
Features
- Multiplexed Socket Protocol: Parallel async queries over a single connection.
- Fast Reconnect: Automatic dead-line detection and reconnection.
- Interactive CLI:
mkdb-client -ifor a live shell.
Installation
pip install pymkdb-client
Quick Start
from mkdb_client import MkDBClient
client = MkDBClient(host="127.0.0.1", port=9001)
client.connect()
# Synchronous
res = client.get("my_store", "doc_1")
# Asynchronous
task = client.query_async("my_store", {"price": {"lt": 50}})
results = task.result()
client.close()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pymkdb_client-0.1.12-py3-none-any.whl.
File metadata
- Download URL: pymkdb_client-0.1.12-py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6afa9134721ffee0b3d17ed62bf71e11737caed5ee0d61a28a5ab24833346e1f
|
|
| MD5 |
2bcd36c563e051cffbf8263a77a3e463
|
|
| BLAKE2b-256 |
cdaf0316b2bfbf1f2a15f1c0c632bb028ad9cc699c44bf9ef2367e207cb38ffc
|