Metadata-Version: 2.4
Name: deml-event-client
Version: 0.1.0
Summary: Redpanda/Kafka client with outbox patterns for DEML Platform event-driven architecture
Project-URL: Homepage, https://dataengineeringformachinelearning.com
Project-URL: Documentation, https://dataengineeringformachinelearning.com/documentation
Project-URL: Repository, https://github.com/dataengineeringformachinelearning/dataengineeringformachinelearning
Project-URL: Issues, https://github.com/dataengineeringformachinelearning/dataengineeringformachinelearning/issues
Author-email: Joe Alongi <joe@dataengineeringformachinelearning.com>
License-Expression: MIT
License-File: LICENSE
Keywords: events,kafka,messaging,outbox,pubsub,redpanda
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: System :: Distributed Computing
Requires-Python: >=3.10
Requires-Dist: confluent-kafka>=2.3.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == 'dev'
Requires-Dist: ruff>=0.4.0; extra == 'dev'
Description-Content-Type: text/markdown

# DEML Event Client

Redpanda/Kafka client with outbox patterns for DEML Platform.

## Installation

```bash
pip install deml-event-client
```

## Usage

```python
from deml_event_client import get_producer_config, get_consumer_config, serialize_event

# For producers
producer_conf = get_producer_config()

# For consumers
consumer_conf = get_consumer_config("telemetry-raw")

# Serialize events
event_bytes = serialize_event({"type": "user_action", "data": {...}})
```

## Features

- Transactional outbox pattern support
- Symmetrical multi-tenant pipeline design
- UUID-scoped event production
- Compression and batching optimized

## License

MIT
