semvec/pypi-packages huggingface dataset:
nats-publish 0.1.3
Minimal go-nats publisher package
License: MIT

# nats-publish

Minimal go-nats protocol based publish-only client written in python.

## Example

```py
from nats_publish import NatsPublish

np = NatsPublish(conn_options={
            "hostname": "demo.nats.io",
            "port": 4222,
        })

np.publish(msg='hello world', subject="foo")
```