Metadata-Version: 2.4
Name: pymkdb-client
Version: 0.1.10
Summary: Python client SDK for MkDB — connects via TCP socket or HTTP.
Author: MNG
License: MIT
Project-URL: Homepage, https://github.com/MNG/MkDB
Project-URL: Repository, https://github.com/MNG/MkDB
Keywords: mkdb,database,client,sdk,nosql
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Database
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# 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 -i` for a live shell.

## Installation
```bash
pip install pymkdb-client
```

## Quick Start
```python
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()
```
