Skip to main content

libudt4 Python wrapper written with Cython

Project description

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:

python3 setup.py 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()
    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.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

udt4py_ng-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (874.2 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

udt4py_ng-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (892.9 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

udt4py_ng-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (832.3 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

udt4py_ng-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (835.1 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

udt4py_ng-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (852.4 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

File details

Details for the file udt4py_ng-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for udt4py_ng-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7d47435bf32958b98db19f5f10f28716cb8c0fef73ed736de4b58985aa8bdb52
MD5 da54eefed432332374e03a27c05eaa46
BLAKE2b-256 c8d10b0d2d018065787b7630ea6bbbd20ef160b9ce3a7de319172a5ca265997b

See more details on using hashes here.

File details

Details for the file udt4py_ng-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for udt4py_ng-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 63ef75e6e949aadb0570337e246d03bb83aec7920d70facc7abf73213a156d3d
MD5 2314d9a06f0ac0ce946830724f8d2ad6
BLAKE2b-256 19403158655a3d49d8011c1b7eedda01148c9214ccac22b46145b9b22967a12d

See more details on using hashes here.

File details

Details for the file udt4py_ng-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for udt4py_ng-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c465cd74e3eb38d74f730344782206678167405c6267c3d518239fb5ce3ba878
MD5 fdde46da48144afe8ca675d1cf485fef
BLAKE2b-256 da2c43f4a201c55a9302e01363a2d3f3e8508039e66e7f3702e22549eb9a1c45

See more details on using hashes here.

File details

Details for the file udt4py_ng-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for udt4py_ng-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 66d582e55c74a067143eef3ea0d0adb93d5a9a6b16c99ca92b464be6b113cf44
MD5 477c9d80e64de96f9df868c04c2ecd25
BLAKE2b-256 e2793c0f7965a93ad2a6906051432ca412506a7e8bd68800719d2bc0b829560e

See more details on using hashes here.

File details

Details for the file udt4py_ng-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for udt4py_ng-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fdf6909562ce59430fbd07f013db0fa66e19d9e070edd145a91af99b08d0d0be
MD5 41dbd5bace58a2de35b217e2a7f3abbb
BLAKE2b-256 6bd326e11d5bfad90976e5e3ed1c7d4326c8ca236b8e0befb15bdb8e7de763ba

See more details on using hashes here.

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