Metadata-Version: 2.4
Name: nmdb-py
Version: 0.1.0
Summary: Python client library for Neural Message Data Bus (NMDB)
Home-page: https://github.com/yourusername/nmdb
Author: Sintellix Contributors
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.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: protobuf>=3.20.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: black>=22.0.0; extra == "dev"
Requires-Dist: mypy>=0.950; extra == "dev"
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# NMDB Python Client

Python client library for the Neural Message Data Bus (NMDB).

## Installation

```bash
pip install nmdb-py
```

Or install from source:

```bash
cd clients/python
pip install -e .
```

## Quick Start

```python
from nmdb import NMDBClient

# Connect to channel
client = NMDBClient("/tmp/nmdb/c1.sock")
client.connect()

# Send text message
client.send_text("Hello, NMDB!")

# Set message callback
def on_message(data: bytes):
    print(f"Received: {data.decode('utf-8')}")

client.set_message_callback(on_message)

# Keep running
import time
time.sleep(10)

# Disconnect
client.disconnect()
```

## Context Manager

```python
from nmdb import NMDBClient

with NMDBClient("/tmp/nmdb/c1.sock") as client:
    client.send_text("Hello, NMDB!")
    # Auto-disconnect on exit
```

## License

MIT License - see [LICENSE](../../LICENSE) for details.
