An open API service indexing awesome lists of open source software.

https://github.com/CaioFilus/moleculer-client

Simple Client in python to communicate with MoleculerJs Microservices using NATS
https://github.com/CaioFilus/moleculer-client

Last synced: 2 months ago
JSON representation

Simple Client in python to communicate with MoleculerJs Microservices using NATS

Awesome Lists containing this project

README

        

Simple Client in python to communicate with MoleculerJs Microservices using NATS.

## Example
```python
from moleculer_client import MoleculerClient

moleculer = MoleculerClient(node_id='python-node', moleculer_nodeID="node-1", url='nats://127.0.0.1:4222')

print(moleculer.discover())
moleculer.emit('client.alive')
print(moleculer.call('microservice.action', {'data': 'moleculer test'}))
```