python-can-cvector


Namepython-can-cvector JSON
Version 1.3.0 PyPI version JSON
download
home_page
SummaryA partly cythonized version of the python-can VectorBus
upload_time2023-11-03 17:40:27
maintainer
docs_urlNone
author
requires_python>=3.7
licenseLGPL v3
keywords python-can can vector cython
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # python-can-cvector

[![PyPI - Version](https://img.shields.io/pypi/v/python-can-cvector.svg)](https://pypi.org/project/python-can-cvector)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/python-can-cvector.svg)](https://pypi.org/project/python-can-cvector)

-----

**Table of Contents**

- [Description](#description)
- [Installation](#installation)
- [Usage](#usage)
- [Test](#test)
- [Build](#build)
- [License](#license)

## Description

This package provides a Cython based version of the [python-can](https://github.com/hardbyte/python-can) `VectorBus`.
`can_cvector.CVectorBus` is a subclass of `can.interfaces.vector.VectorBus` which reimplements the
`send()` and `recv()` methods for improved performance.


## Installation

```console
pip install python-can-cvector
```

## Usage

The class can be used either through the python-can API
```python3
from can import Bus
bus = Bus(interface="cvector", serial=100, channel=0)
```

or instantiated directly
```python3
from can_cvector import CVectorBus
bus = CVectorBus(serial=100, channel=0)
```

Read the [python-can documentation](https://python-can.readthedocs.io/en/stable/interfaces/vector.html#vector) to learn more.

## Test

```console
pip install pytest
pytest ./tests
```

## Build

To build `python-can-cvector` from source you need to set the environment 
variable `VXLAPI_DIR` which points to the directory which Vector XL Driver Library 
(e.g. C:\Users\Public\Documents\Vector\XL Driver Library 20.30.14\bin).
```console
pip install build
python -m build .
```

## License

`python-can-cvector` is distributed under the terms of the [LGPL-3.0-or-later](https://spdx.org/licenses/LGPL-3.0-or-later.html) license.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "python-can-cvector",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "python-can,CAN,vector,cython",
    "author": "",
    "author_email": "Artur Drogunow <artur.drogunow@zf.com>",
    "download_url": "",
    "platform": null,
    "description": "# python-can-cvector\r\n\r\n[![PyPI - Version](https://img.shields.io/pypi/v/python-can-cvector.svg)](https://pypi.org/project/python-can-cvector)\r\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/python-can-cvector.svg)](https://pypi.org/project/python-can-cvector)\r\n\r\n-----\r\n\r\n**Table of Contents**\r\n\r\n- [Description](#description)\r\n- [Installation](#installation)\r\n- [Usage](#usage)\r\n- [Test](#test)\r\n- [Build](#build)\r\n- [License](#license)\r\n\r\n## Description\r\n\r\nThis package provides a Cython based version of the [python-can](https://github.com/hardbyte/python-can) `VectorBus`.\r\n`can_cvector.CVectorBus` is a subclass of `can.interfaces.vector.VectorBus` which reimplements the\r\n`send()` and `recv()` methods for improved performance.\r\n\r\n\r\n## Installation\r\n\r\n```console\r\npip install python-can-cvector\r\n```\r\n\r\n## Usage\r\n\r\nThe class can be used either through the python-can API\r\n```python3\r\nfrom can import Bus\r\nbus = Bus(interface=\"cvector\", serial=100, channel=0)\r\n```\r\n\r\nor instantiated directly\r\n```python3\r\nfrom can_cvector import CVectorBus\r\nbus = CVectorBus(serial=100, channel=0)\r\n```\r\n\r\nRead the [python-can documentation](https://python-can.readthedocs.io/en/stable/interfaces/vector.html#vector) to learn more.\r\n\r\n## Test\r\n\r\n```console\r\npip install pytest\r\npytest ./tests\r\n```\r\n\r\n## Build\r\n\r\nTo build `python-can-cvector` from source you need to set the environment \r\nvariable `VXLAPI_DIR` which points to the directory which Vector XL Driver Library \r\n(e.g. C:\\Users\\Public\\Documents\\Vector\\XL Driver Library 20.30.14\\bin).\r\n```console\r\npip install build\r\npython -m build .\r\n```\r\n\r\n## License\r\n\r\n`python-can-cvector` is distributed under the terms of the [LGPL-3.0-or-later](https://spdx.org/licenses/LGPL-3.0-or-later.html) license.\r\n",
    "bugtrack_url": null,
    "license": "LGPL v3",
    "summary": "A partly cythonized version of the python-can VectorBus",
    "version": "1.3.0",
    "project_urls": {
        "Documentation": "https://github.com/zariiii9003/python-can-cvector#readme",
        "Homepage": "https://github.com/zariiii9003/python-can-cvector",
        "Issues": "https://github.com/zariiii9003/python-can-cvector/issues",
        "Source": "https://github.com/zariiii9003/python-can-cvector"
    },
    "split_keywords": [
        "python-can",
        "can",
        "vector",
        "cython"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8137256b558102822d422dcf0b4daa5c7dd77b2c7a9c1787f0101e8565115cf2",
                "md5": "300f7afde5eba1e8b0fc162ef1a72b73",
                "sha256": "1d6f75cd635d04322b960819450ea45c149e4f05d72b4f73066f3bb94dc3408f"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.3.0-cp310-cp310-win32.whl",
            "has_sig": false,
            "md5_digest": "300f7afde5eba1e8b0fc162ef1a72b73",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 79026,
            "upload_time": "2023-11-03T17:40:27",
            "upload_time_iso_8601": "2023-11-03T17:40:27.461786Z",
            "url": "https://files.pythonhosted.org/packages/81/37/256b558102822d422dcf0b4daa5c7dd77b2c7a9c1787f0101e8565115cf2/python_can_cvector-1.3.0-cp310-cp310-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "455024e3c271957b0558ce355f33bb0611b3022d0ba1c295bdc610c8b00ecdf2",
                "md5": "9283e8a58718f8c769532f4a02eb20ab",
                "sha256": "81956fb0bca3fa14768ef6fef172d6331a1741b0e0343f2810eedfaf5f42e782"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.3.0-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "9283e8a58718f8c769532f4a02eb20ab",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 80954,
            "upload_time": "2023-11-03T17:40:33",
            "upload_time_iso_8601": "2023-11-03T17:40:33.060674Z",
            "url": "https://files.pythonhosted.org/packages/45/50/24e3c271957b0558ce355f33bb0611b3022d0ba1c295bdc610c8b00ecdf2/python_can_cvector-1.3.0-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "319232f5f5715d04eaa180ac2e3c11cd42125e1602ee04a177df877f2b0c59f0",
                "md5": "e7dd940915db84eb4feb7f2b50e341e3",
                "sha256": "153ae0e1f9572b8b53d098db75135939ce57c8ff9dd1e0cfb5bb97bf44f80d92"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.3.0-cp311-cp311-win32.whl",
            "has_sig": false,
            "md5_digest": "e7dd940915db84eb4feb7f2b50e341e3",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 79309,
            "upload_time": "2023-11-03T17:40:34",
            "upload_time_iso_8601": "2023-11-03T17:40:34.981044Z",
            "url": "https://files.pythonhosted.org/packages/31/92/32f5f5715d04eaa180ac2e3c11cd42125e1602ee04a177df877f2b0c59f0/python_can_cvector-1.3.0-cp311-cp311-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2762236c99c285940bf882e49283b63856ac9399f842f05ffb48df6295d14517",
                "md5": "59f7d6aef8309eefcf04f99b81b26b7c",
                "sha256": "ebd56f3976c2bd76d18fb5973a4142944b1a85fbe41c99cb49127c2b282b1468"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.3.0-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "59f7d6aef8309eefcf04f99b81b26b7c",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 80972,
            "upload_time": "2023-11-03T17:40:36",
            "upload_time_iso_8601": "2023-11-03T17:40:36.587093Z",
            "url": "https://files.pythonhosted.org/packages/27/62/236c99c285940bf882e49283b63856ac9399f842f05ffb48df6295d14517/python_can_cvector-1.3.0-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "94326c53f691fb9f6cf59bfab1a6142ac5fb5f5232fa157bfc10816f3fae3e70",
                "md5": "c1ac66be8b9b3a340ae7643a8ea07471",
                "sha256": "a9a91a823df35646601b21959b3bc3f70fdb607e48084198c987b6f0361513de"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.3.0-cp312-cp312-win32.whl",
            "has_sig": false,
            "md5_digest": "c1ac66be8b9b3a340ae7643a8ea07471",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 78800,
            "upload_time": "2023-11-03T17:40:37",
            "upload_time_iso_8601": "2023-11-03T17:40:37.948812Z",
            "url": "https://files.pythonhosted.org/packages/94/32/6c53f691fb9f6cf59bfab1a6142ac5fb5f5232fa157bfc10816f3fae3e70/python_can_cvector-1.3.0-cp312-cp312-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "02b50d9209b3956a0e31d14dec7296b4dfe0828c5cfa923c7c73c6c39bb3469c",
                "md5": "8b9b181a98590c833f272c982fb4ec35",
                "sha256": "46d6c9c1731e934a23317d4c473102609bd12b69f54612ce1b4e662397e527b8"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.3.0-cp312-cp312-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "8b9b181a98590c833f272c982fb4ec35",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 81149,
            "upload_time": "2023-11-03T17:40:39",
            "upload_time_iso_8601": "2023-11-03T17:40:39.717402Z",
            "url": "https://files.pythonhosted.org/packages/02/b5/0d9209b3956a0e31d14dec7296b4dfe0828c5cfa923c7c73c6c39bb3469c/python_can_cvector-1.3.0-cp312-cp312-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7fa5f28283b92281412f63dd342126a03a897ca6d73b0b0c349f3326c2d757b7",
                "md5": "d1299fde3b21ed8e325ec9df1f851399",
                "sha256": "c5028356b9e8e68a064053aabdd4564a797daa753afbd4b8d8c0eb7a7161ddd2"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.3.0-cp37-cp37m-win32.whl",
            "has_sig": false,
            "md5_digest": "d1299fde3b21ed8e325ec9df1f851399",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 79645,
            "upload_time": "2023-11-03T17:40:40",
            "upload_time_iso_8601": "2023-11-03T17:40:40.936615Z",
            "url": "https://files.pythonhosted.org/packages/7f/a5/f28283b92281412f63dd342126a03a897ca6d73b0b0c349f3326c2d757b7/python_can_cvector-1.3.0-cp37-cp37m-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8102fcf307074ca50322743a63b1014b43f46991babed81fb9b033b96918d5f4",
                "md5": "947d45928705a2fb8e5fc25bfa1f7115",
                "sha256": "bd34d00101bd48b6cc6eb2adf1403727bfadf43249556be1909544f9996cc476"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.3.0-cp37-cp37m-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "947d45928705a2fb8e5fc25bfa1f7115",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 81661,
            "upload_time": "2023-11-03T17:40:42",
            "upload_time_iso_8601": "2023-11-03T17:40:42.209158Z",
            "url": "https://files.pythonhosted.org/packages/81/02/fcf307074ca50322743a63b1014b43f46991babed81fb9b033b96918d5f4/python_can_cvector-1.3.0-cp37-cp37m-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5746241be0a16147571e62fad54cac6aa3e5d17989c69e0f3582152af7795405",
                "md5": "1f33221c08cd175e33bf22025f920e04",
                "sha256": "1614a93910d8cc211bea913b8c84fcc656735fc5c7e2b772dccd13455cdcc9c7"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.3.0-cp38-cp38-win32.whl",
            "has_sig": false,
            "md5_digest": "1f33221c08cd175e33bf22025f920e04",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 80271,
            "upload_time": "2023-11-03T17:40:43",
            "upload_time_iso_8601": "2023-11-03T17:40:43.283998Z",
            "url": "https://files.pythonhosted.org/packages/57/46/241be0a16147571e62fad54cac6aa3e5d17989c69e0f3582152af7795405/python_can_cvector-1.3.0-cp38-cp38-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "69657d529176262007b4239907f6392079e72e44cbf72d07f4e5a9ee00601e4f",
                "md5": "f63bbd84e79a6bf374b20115fdad9bb9",
                "sha256": "a59627f1c16bec94d0fcfe7f30c9dfe8aaffa3c88f90b584fdba7011c0ff0476"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.3.0-cp38-cp38-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "f63bbd84e79a6bf374b20115fdad9bb9",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 82414,
            "upload_time": "2023-11-03T17:40:44",
            "upload_time_iso_8601": "2023-11-03T17:40:44.815230Z",
            "url": "https://files.pythonhosted.org/packages/69/65/7d529176262007b4239907f6392079e72e44cbf72d07f4e5a9ee00601e4f/python_can_cvector-1.3.0-cp38-cp38-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "80f424f5011b1d6644a3b61dbbd1332da81d505d10d179416ca3e59254fe3503",
                "md5": "707d4cf5bddc3bb7832c927aca389d85",
                "sha256": "b2c748a1f2fbf1d463c7996fe4088181209acaec161178d68c1e35683ad0c68c"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.3.0-cp39-cp39-win32.whl",
            "has_sig": false,
            "md5_digest": "707d4cf5bddc3bb7832c927aca389d85",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 80286,
            "upload_time": "2023-11-03T17:40:46",
            "upload_time_iso_8601": "2023-11-03T17:40:46.491975Z",
            "url": "https://files.pythonhosted.org/packages/80/f4/24f5011b1d6644a3b61dbbd1332da81d505d10d179416ca3e59254fe3503/python_can_cvector-1.3.0-cp39-cp39-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "204883054cd2bdb61e790d0b5eeb604415f36dbe5635956a15a8599f6429e59d",
                "md5": "7383ca9b193731c5adc576230fd2772d",
                "sha256": "1cbf6127a8c742e7561d257cda41d215d97050507a38d3e09a95e36d06917bc2"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.3.0-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "7383ca9b193731c5adc576230fd2772d",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 82414,
            "upload_time": "2023-11-03T17:40:47",
            "upload_time_iso_8601": "2023-11-03T17:40:47.944702Z",
            "url": "https://files.pythonhosted.org/packages/20/48/83054cd2bdb61e790d0b5eeb604415f36dbe5635956a15a8599f6429e59d/python_can_cvector-1.3.0-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "68abdcc38bf2471aeba312f406b7dfc72bd3952484efb88b656a8087ec1dcec3",
                "md5": "6933a0b0b610f59ec05c821de1031d8b",
                "sha256": "2d2b7e9aedc69c0908b19ffdf415656c06c2ee91146fa558ab975ad6693b499f"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.3.0-pp310-pypy310_pp73-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "6933a0b0b610f59ec05c821de1031d8b",
            "packagetype": "bdist_wheel",
            "python_version": "pp310",
            "requires_python": ">=3.7",
            "size": 78386,
            "upload_time": "2023-11-03T17:40:49",
            "upload_time_iso_8601": "2023-11-03T17:40:49.211479Z",
            "url": "https://files.pythonhosted.org/packages/68/ab/dcc38bf2471aeba312f406b7dfc72bd3952484efb88b656a8087ec1dcec3/python_can_cvector-1.3.0-pp310-pypy310_pp73-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7b1b6caad2f7ced3f8b23d42992b086894d83f594e4cb1f1e8478ecf4de14e2b",
                "md5": "df6ba32d3a8c197e0da3a61d5bc844fa",
                "sha256": "1ef028783c722e53d14f0a0140fdbf1526237608a1e14db4a26774e1628f2678"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.3.0-pp37-pypy37_pp73-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "df6ba32d3a8c197e0da3a61d5bc844fa",
            "packagetype": "bdist_wheel",
            "python_version": "pp37",
            "requires_python": ">=3.7",
            "size": 77850,
            "upload_time": "2023-11-03T17:40:50",
            "upload_time_iso_8601": "2023-11-03T17:40:50.835325Z",
            "url": "https://files.pythonhosted.org/packages/7b/1b/6caad2f7ced3f8b23d42992b086894d83f594e4cb1f1e8478ecf4de14e2b/python_can_cvector-1.3.0-pp37-pypy37_pp73-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b02c4aac332c25bf2d40f24528518091cbb1d153778f457ed93a4ad8f6ec2799",
                "md5": "3fa82835d36c81a95718d5f431e15e15",
                "sha256": "577262b517e7d02e96cc60a6b910fb02cacf23c3ff017c13bcb6a388f9371634"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.3.0-pp38-pypy38_pp73-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "3fa82835d36c81a95718d5f431e15e15",
            "packagetype": "bdist_wheel",
            "python_version": "pp38",
            "requires_python": ">=3.7",
            "size": 77869,
            "upload_time": "2023-11-03T17:40:52",
            "upload_time_iso_8601": "2023-11-03T17:40:52.087348Z",
            "url": "https://files.pythonhosted.org/packages/b0/2c/4aac332c25bf2d40f24528518091cbb1d153778f457ed93a4ad8f6ec2799/python_can_cvector-1.3.0-pp38-pypy38_pp73-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "14906d4e375aead1c077ac416f709e2abe57f3b6d3913210991292e0168a9434",
                "md5": "1e582afb9247093a6fa34838d3b378a5",
                "sha256": "a3369b5b14fbf2b5b7ed98c73e9eb6bcef002f719d2420660b9d4b6eef9976b2"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.3.0-pp39-pypy39_pp73-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "1e582afb9247093a6fa34838d3b378a5",
            "packagetype": "bdist_wheel",
            "python_version": "pp39",
            "requires_python": ">=3.7",
            "size": 78379,
            "upload_time": "2023-11-03T17:40:53",
            "upload_time_iso_8601": "2023-11-03T17:40:53.295463Z",
            "url": "https://files.pythonhosted.org/packages/14/90/6d4e375aead1c077ac416f709e2abe57f3b6d3913210991292e0168a9434/python_can_cvector-1.3.0-pp39-pypy39_pp73-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-03 17:40:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zariiii9003",
    "github_project": "python-can-cvector#readme",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "tox": true,
    "lcname": "python-can-cvector"
}
        
Elapsed time: 0.13450s