udt4py
======
libudt4 Python wrapper written with Cython.
Tested with Python 2.7 and Python 3.3 on Linux. In buffer operations bytes,
bytearray and memoryview objects are supported, allowing zero-copy operations.
In order to build the native module, execute:
```bash
python3 setup.py build_ext --inplace
```
In Ubuntu, you will need ``cython3`` package.
To run the tests, execute:
```bash
PYTHONPATH=`pwd` nosetests3 -w tests --tests udt_socket,udt_epoll
```
Example usage:
```python
from udt4py import UDTSocket
if __name__ == "__main__":
socket = UDTSocket()
socket.bind("0.0.0.0:7777")
socket.listen()
channel = socket.accept()
msg = bytearray(5)
channel.recv(msg)
```
Released under Simplified BSD License.
Copyright (c) 2014, Samsung Electronics Co.,Ltd.
======
libudt4 Python wrapper written with Cython.
Tested with Python 2.7 and Python 3.3 on Linux. In buffer operations bytes,
bytearray and memoryview objects are supported, allowing zero-copy operations.
In order to build the native module, execute:
```bash
python3 setup.py build_ext --inplace
```
In Ubuntu, you will need ``cython3`` package.
To run the tests, execute:
```bash
PYTHONPATH=`pwd` nosetests3 -w tests --tests udt_socket,udt_epoll
```
Example usage:
```python
from udt4py import UDTSocket
if __name__ == "__main__":
socket = UDTSocket()
socket.bind("0.0.0.0:7777")
socket.listen()
channel = socket.accept()
msg = bytearray(5)
channel.recv(msg)
```
Released under Simplified BSD License.
Copyright (c) 2014, Samsung Electronics Co.,Ltd.
Metadata
Release files for udt4py 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| udt4py-1.2.tar.gz | 17.3 kB | Details |
Release files / udt4py-1.2.tar.gz
| Download URL | udt4py-1.2.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
718c1c807ceb642ba9de83c371deb661d619809afb022ec0af63cd588125c616
|
|
BLAKE2b-256 checksum How to use checksums |
ec7c8cd2c2e00883e23b3bc829d862bae54c67546d37d0c3f365385192cacac1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |