Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A python wrapper of librelp

Project description

PyRELP
===

A python wrapper of librelp.

Overview
===

This is a wrapper of the [librelp](http://www.librelp.com/) library.

Pyrelp uses *ctypes* for accessing the *librelp* C functions directly. So
technically this is not a python module of pyrelp, but a wrapper.

The C sources of *librelp* are included in the source distribution package and
will be built by *setuptools* when installing with e.g. pip.

Only *python2* is supported, since dummy extension module is lacking *python3*
support for now.


Client
---

Send a message to a RELP server:

> pyrelp <ip> <port> <msg>



Server
---

There is no default server implementation. Use the `Server` class to implement
one.

Example RELP Server:

```python
from pyrelp import pyrelp

def rcv(host, ip, msg):
print(msg)

s = pyrelp.Server(20514, rcv)
s.run()
```


Development & Testing
===

Run:

> make


Dependencies
---

autotools
libtool
docker
robotframework

Project details


Release history Release notifications

This version
History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyrelp-0.6.tar.gz (59.4 kB) Copy SHA256 hash SHA256 Source None Oct 12, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page