Skip to main content

A python remote communications library

Project description

# kiwipy


kiwipy is a library that makes remote messaging EASY. So far, there is support for:

* RPC
* Broadcast
* Task queue messages

Let's dive in.

## RPC


```python
from kiwipy.rmq import *
communicator = RmqCommunicator(RmqConnector('amqp://localhost'))

def square(x):
return x * x

# Register an RPC subscriber with the name square
communicator.add_rpc_subscriber(square, 'square')

# Send an RPC message
communicator.rpc_send_and_wait('square', 10)
>>> 100
```


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kiwipy-0.1.0.dev12.tar.gz (29.7 kB view hashes)

Uploaded Source

Built Distribution

kiwipy-0.1.0.dev12-py2.py3-none-any.whl (20.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page