Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

libudt4 Python wrapper written with Cython

Project description


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:

python3 build_ext --inplace

In Ubuntu, you will need ``cython3`` package.
To run the tests, execute:

PYTHONPATH=`pwd` nosetests3 -w tests --tests udt_socket,udt_epoll

Example usage:

from udt4py import UDTSocket

if __name__ == "__main__":
socket = UDTSocket()
channel = socket.accept()
msg = bytearray(5)

Released under Simplified BSD License.
Copyright (c) 2014, Samsung Electronics Co.,Ltd.

Project details

Download files

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

Files for udt4py, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size udt4py-1.2.tar.gz (17.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page