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
===
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
Release files for pyrelp 0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyrelp-0.6.tar.gz | 59.4 kB | Details |
Release files / pyrelp-0.6.tar.gz
| Download URL | pyrelp-0.6.tar.gz |
|---|---|
| Size | 59.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a49db17b6ca82e156149d263261b3704bdae8f419134f1cba183b9c11eabe844
|
|
BLAKE2b-256 checksum How to use checksums |
ac715d7d35d35bd9b500937461eab7242db23b21236732f1e02cb38696472c35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |