udt4py-ng


Nameudt4py-ng JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/wbarnha/udt4py-ng
Summarylibudt4 Python wrapper written with Cython
upload_time2024-07-12 02:33:13
maintainerWilliam Barnhart
docs_urlNone
authorSamsung Electronics Co.,Ltd.
requires_python>=3.8
licenseCopyright (c) 2014, Samsung Electronics Co.,Ltd. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of Samsung Electronics Co.,Ltd..
keywords udt pyudt udt4 udt4py
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/wbarnha/udt4py-ng",
    "name": "udt4py-ng",
    "maintainer": "William Barnhart",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "William Barnhart <williambbarnhart@gmail.com>",
    "keywords": "udt, pyudt, udt4, udt4py",
    "author": "Samsung Electronics Co.,Ltd.",
    "author_email": "\"Samsung Electronics Co.,Ltd.\" <v.markovtsev@samsung.com>",
    "download_url": "https://github.com/wbarnha/udt4py-ng",
    "platform": null,
    "description": "udt4py\n======\n\nlibudt4 Python wrapper written with Cython.\n\nTested with Python 2.7 and Python 3.3 on Linux. In buffer operations bytes,\nbytearray and memoryview objects are supported, allowing zero-copy operations.\n\nIn order to build the native module, execute:\n\n```bash\npython3 setup.py build_ext --inplace\n```\n\nIn Ubuntu, you will need ``cython3`` package.\nTo run the tests, execute:\n\n```bash\nPYTHONPATH=`pwd` nosetests3 -w tests --tests udt_socket,udt_epoll\n```\n\nExample usage:\n\n```python\nfrom udt4py import UDTSocket\n\n\nif __name__ == \"__main__\":\n    socket = UDTSocket()\n    socket.bind(\"0.0.0.0:7777\")\n    socket.listen()\n    channel = socket.accept()\n    msg = bytearray(5)\n    channel.recv(msg)\n```\n\nReleased under Simplified BSD License.\nCopyright (c) 2014, Samsung Electronics Co.,Ltd.\n",
    "bugtrack_url": null,
    "license": "Copyright (c) 2014, Samsung Electronics Co.,Ltd. All rights reserved.  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of Samsung Electronics Co.,Ltd.. ",
    "summary": "libudt4 Python wrapper written with Cython",
    "version": "1.0.0",
    "project_urls": {
        "Changes": "https://github.com/wbarnha/udt4py-ng/releases",
        "Download": "https://github.com/wbarnha/udt4py-ng",
        "Homepage": "https://github.com/wbarnha/udt4py-ng",
        "Source": "https://github.com/wbarnha/udt4py-ng"
    },
    "split_keywords": [
        "udt",
        " pyudt",
        " udt4",
        " udt4py"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "da2c43f4a201c55a9302e01363a2d3f3e8508039e66e7f3702e22549eb9a1c45",
                "md5": "fdde46da48144afe8ca675d1cf485fef",
                "sha256": "c465cd74e3eb38d74f730344782206678167405c6267c3d518239fb5ce3ba878"
            },
            "downloads": -1,
            "filename": "udt4py_ng-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "fdde46da48144afe8ca675d1cf485fef",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8",
            "size": 832306,
            "upload_time": "2024-07-12T02:33:13",
            "upload_time_iso_8601": "2024-07-12T02:33:13.359824Z",
            "url": "https://files.pythonhosted.org/packages/da/2c/43f4a201c55a9302e01363a2d3f3e8508039e66e7f3702e22549eb9a1c45/udt4py_ng-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "19403158655a3d49d8011c1b7eedda01148c9214ccac22b46145b9b22967a12d",
                "md5": "2314d9a06f0ac0ce946830724f8d2ad6",
                "sha256": "63ef75e6e949aadb0570337e246d03bb83aec7920d70facc7abf73213a156d3d"
            },
            "downloads": -1,
            "filename": "udt4py_ng-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "2314d9a06f0ac0ce946830724f8d2ad6",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.8",
            "size": 892889,
            "upload_time": "2024-07-12T02:33:15",
            "upload_time_iso_8601": "2024-07-12T02:33:15.290719Z",
            "url": "https://files.pythonhosted.org/packages/19/40/3158655a3d49d8011c1b7eedda01148c9214ccac22b46145b9b22967a12d/udt4py_ng-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c8d10b0d2d018065787b7630ea6bbbd20ef160b9ce3a7de319172a5ca265997b",
                "md5": "da54eefed432332374e03a27c05eaa46",
                "sha256": "7d47435bf32958b98db19f5f10f28716cb8c0fef73ed736de4b58985aa8bdb52"
            },
            "downloads": -1,
            "filename": "udt4py_ng-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "da54eefed432332374e03a27c05eaa46",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.8",
            "size": 874234,
            "upload_time": "2024-07-12T02:33:17",
            "upload_time_iso_8601": "2024-07-12T02:33:17.569422Z",
            "url": "https://files.pythonhosted.org/packages/c8/d1/0b0d2d018065787b7630ea6bbbd20ef160b9ce3a7de319172a5ca265997b/udt4py_ng-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6bd326e11d5bfad90976e5e3ed1c7d4326c8ca236b8e0befb15bdb8e7de763ba",
                "md5": "41dbd5bace58a2de35b217e2a7f3abbb",
                "sha256": "fdf6909562ce59430fbd07f013db0fa66e19d9e070edd145a91af99b08d0d0be"
            },
            "downloads": -1,
            "filename": "udt4py_ng-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "41dbd5bace58a2de35b217e2a7f3abbb",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 852382,
            "upload_time": "2024-07-12T02:33:19",
            "upload_time_iso_8601": "2024-07-12T02:33:19.469531Z",
            "url": "https://files.pythonhosted.org/packages/6b/d3/26e11d5bfad90976e5e3ed1c7d4326c8ca236b8e0befb15bdb8e7de763ba/udt4py_ng-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e2793c0f7965a93ad2a6906051432ca412506a7e8bd68800719d2bc0b829560e",
                "md5": "477c9d80e64de96f9df868c04c2ecd25",
                "sha256": "66d582e55c74a067143eef3ea0d0adb93d5a9a6b16c99ca92b464be6b113cf44"
            },
            "downloads": -1,
            "filename": "udt4py_ng-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "477c9d80e64de96f9df868c04c2ecd25",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8",
            "size": 835090,
            "upload_time": "2024-07-12T02:33:21",
            "upload_time_iso_8601": "2024-07-12T02:33:21.565120Z",
            "url": "https://files.pythonhosted.org/packages/e2/79/3c0f7965a93ad2a6906051432ca412506a7e8bd68800719d2bc0b829560e/udt4py_ng-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-12 02:33:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "wbarnha",
    "github_project": "udt4py-ng",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "udt4py-ng"
}
        
Elapsed time: 0.27066s