python-can-cvector


Namepython-can-cvector JSON
Version 1.4.0 PyPI version JSON
download
home_pageNone
SummaryA partly cythonized version of the python-can VectorBus
upload_time2024-06-24 19:09:46
maintainerNone
docs_urlNone
authorNone
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": null,
    "name": "python-can-cvector",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "python-can, CAN, vector, cython",
    "author": null,
    "author_email": "Artur Drogunow <artur.drogunow@zf.com>",
    "download_url": null,
    "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.4.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": "b21e9af7c190116ff3ffd00318d515f51682ec630127d12061ea487dfd51223c",
                "md5": "49b517df03bf36b605c197dbf8356d2e",
                "sha256": "4ea1cddf28d32a63bbb8e9696af61c32473b5d79c50092df8ce8be879b14c44d"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.4.0-cp310-cp310-win32.whl",
            "has_sig": false,
            "md5_digest": "49b517df03bf36b605c197dbf8356d2e",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 108966,
            "upload_time": "2024-06-24T19:09:46",
            "upload_time_iso_8601": "2024-06-24T19:09:46.598032Z",
            "url": "https://files.pythonhosted.org/packages/b2/1e/9af7c190116ff3ffd00318d515f51682ec630127d12061ea487dfd51223c/python_can_cvector-1.4.0-cp310-cp310-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "50d49b1017cdb48fbc956425b8b4b9fca7d0a555f2cc35646ec6141d68d69831",
                "md5": "48c7ebd56e98da4ecf7c8fb7bd9dfa0f",
                "sha256": "eb9bf8398a9a8751c9d743d8028f26457860d1f646b549e79a159a60654583ff"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.4.0-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "48c7ebd56e98da4ecf7c8fb7bd9dfa0f",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 111844,
            "upload_time": "2024-06-24T19:09:48",
            "upload_time_iso_8601": "2024-06-24T19:09:48.734968Z",
            "url": "https://files.pythonhosted.org/packages/50/d4/9b1017cdb48fbc956425b8b4b9fca7d0a555f2cc35646ec6141d68d69831/python_can_cvector-1.4.0-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5259daf4cc2c52605b6ee0b35f0d8595cf16fd526f57e106083dcea68fde89c8",
                "md5": "c7ad2c4ca6e2c4858fb78775667165d1",
                "sha256": "57da1e62bd377d7386214caf26a280b15e53c44d6958f50cb9904a89cf79de96"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.4.0-cp311-cp311-win32.whl",
            "has_sig": false,
            "md5_digest": "c7ad2c4ca6e2c4858fb78775667165d1",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 108817,
            "upload_time": "2024-06-24T19:09:50",
            "upload_time_iso_8601": "2024-06-24T19:09:50.718430Z",
            "url": "https://files.pythonhosted.org/packages/52/59/daf4cc2c52605b6ee0b35f0d8595cf16fd526f57e106083dcea68fde89c8/python_can_cvector-1.4.0-cp311-cp311-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "35f9208bc7bd3b97f61f4299250352ef1aa1ce062d10a534214bbf6ad1cb150a",
                "md5": "9bd55a1cf5894a94d73763da498c19c8",
                "sha256": "a0a882c2b85da35819041ff6d2de864b3c1de1f59bc59d8094b0d92d51c5c26d"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.4.0-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "9bd55a1cf5894a94d73763da498c19c8",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 111973,
            "upload_time": "2024-06-24T19:09:52",
            "upload_time_iso_8601": "2024-06-24T19:09:52.563498Z",
            "url": "https://files.pythonhosted.org/packages/35/f9/208bc7bd3b97f61f4299250352ef1aa1ce062d10a534214bbf6ad1cb150a/python_can_cvector-1.4.0-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b5f88b2778418daf9731933562978f57abfa9c4e15957450a2e7fec5ca59a132",
                "md5": "c2ed236f4ce116f1d0c255d7cc1213cd",
                "sha256": "46b2ceaa8a453e472928e04910a9c77151c865928e97bae5bf99425b4d1e8ade"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.4.0-cp312-cp312-win32.whl",
            "has_sig": false,
            "md5_digest": "c2ed236f4ce116f1d0c255d7cc1213cd",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 108818,
            "upload_time": "2024-06-24T19:09:54",
            "upload_time_iso_8601": "2024-06-24T19:09:54.413650Z",
            "url": "https://files.pythonhosted.org/packages/b5/f8/8b2778418daf9731933562978f57abfa9c4e15957450a2e7fec5ca59a132/python_can_cvector-1.4.0-cp312-cp312-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ac734726c1c7f988e40caa92d65f87a8c95d79fe1a121aa2fab465ee679213b0",
                "md5": "22d6d5651de2c0fc817adda1ccb7968d",
                "sha256": "932b002f3a5fd23a9556f68ee010c8c0d4e96b46fe4aeff02948111be835e922"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.4.0-cp312-cp312-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "22d6d5651de2c0fc817adda1ccb7968d",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 111946,
            "upload_time": "2024-06-24T19:09:56",
            "upload_time_iso_8601": "2024-06-24T19:09:56.276683Z",
            "url": "https://files.pythonhosted.org/packages/ac/73/4726c1c7f988e40caa92d65f87a8c95d79fe1a121aa2fab465ee679213b0/python_can_cvector-1.4.0-cp312-cp312-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "18f927f2e98ccee00a8deab6d45bdb95ef0ba20c88b5b24840252137949874fe",
                "md5": "81b7a2746ed28e2da1522dc180c67f47",
                "sha256": "4bd6a488c61df07c8ffd5cc33a8f81542885d3bdb910c15836c4d6121e5ba1f2"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.4.0-cp37-cp37m-win32.whl",
            "has_sig": false,
            "md5_digest": "81b7a2746ed28e2da1522dc180c67f47",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 108897,
            "upload_time": "2024-06-24T19:09:57",
            "upload_time_iso_8601": "2024-06-24T19:09:57.737462Z",
            "url": "https://files.pythonhosted.org/packages/18/f9/27f2e98ccee00a8deab6d45bdb95ef0ba20c88b5b24840252137949874fe/python_can_cvector-1.4.0-cp37-cp37m-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e5684fa17973479ace5d6192bd781ac50afba0519a7246794dfe8c6a0f82dac5",
                "md5": "f8682c2dc281852641a037a8751af167",
                "sha256": "21a84bdeb7eee18df51442c74016c086dd79a7109f36550cc629e74438c31c3a"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.4.0-cp37-cp37m-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "f8682c2dc281852641a037a8751af167",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 112075,
            "upload_time": "2024-06-24T19:09:59",
            "upload_time_iso_8601": "2024-06-24T19:09:59.481571Z",
            "url": "https://files.pythonhosted.org/packages/e5/68/4fa17973479ace5d6192bd781ac50afba0519a7246794dfe8c6a0f82dac5/python_can_cvector-1.4.0-cp37-cp37m-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "54cb7b8d3a4c5721417ef78fb3626ed3409ebb9806f525b717646818abf97180",
                "md5": "b220d946bc765f30c07952cdabf16cc5",
                "sha256": "78b7d00c68916a07a0cf623166400a03defea9dab0eecdcb5294e257ac33e6f3"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.4.0-cp38-cp38-win32.whl",
            "has_sig": false,
            "md5_digest": "b220d946bc765f30c07952cdabf16cc5",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 109040,
            "upload_time": "2024-06-24T19:10:01",
            "upload_time_iso_8601": "2024-06-24T19:10:01.589328Z",
            "url": "https://files.pythonhosted.org/packages/54/cb/7b8d3a4c5721417ef78fb3626ed3409ebb9806f525b717646818abf97180/python_can_cvector-1.4.0-cp38-cp38-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d51b12aa574a70ea3b3058f3e0c44da2f0da737167370571183138c88f81a805",
                "md5": "76ab74fc0c32fae9108cdc40c89e05a5",
                "sha256": "19148d9132029af1c193f9334507d595269c7e069c77afa55d9fc48e668eba4b"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.4.0-cp38-cp38-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "76ab74fc0c32fae9108cdc40c89e05a5",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 112026,
            "upload_time": "2024-06-24T19:10:03",
            "upload_time_iso_8601": "2024-06-24T19:10:03.281504Z",
            "url": "https://files.pythonhosted.org/packages/d5/1b/12aa574a70ea3b3058f3e0c44da2f0da737167370571183138c88f81a805/python_can_cvector-1.4.0-cp38-cp38-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e0aff333c7e4b2eb05f32e9375919c99b321260ca3028c8a1d57f7eb103b452a",
                "md5": "22b2944f9dc9fad2355155a370e54888",
                "sha256": "2631e214b1f534bc6b60e94f7a3c59cd4875136d2e1c1c39b0fc91526046f859"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.4.0-cp39-cp39-win32.whl",
            "has_sig": false,
            "md5_digest": "22b2944f9dc9fad2355155a370e54888",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 108951,
            "upload_time": "2024-06-24T19:10:04",
            "upload_time_iso_8601": "2024-06-24T19:10:04.960525Z",
            "url": "https://files.pythonhosted.org/packages/e0/af/f333c7e4b2eb05f32e9375919c99b321260ca3028c8a1d57f7eb103b452a/python_can_cvector-1.4.0-cp39-cp39-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b5b75a3a69c2ac59d56b38b54247557058d4d13db225813a84a0a8e37988b6ea",
                "md5": "030e4f0f4d90d729794cadd249e0e187",
                "sha256": "35f82301fdd753e64fdc5676042e04ad87ebedcbaf4b03de116d8cef352eabcb"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.4.0-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "030e4f0f4d90d729794cadd249e0e187",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 111848,
            "upload_time": "2024-06-24T19:10:06",
            "upload_time_iso_8601": "2024-06-24T19:10:06.222533Z",
            "url": "https://files.pythonhosted.org/packages/b5/b7/5a3a69c2ac59d56b38b54247557058d4d13db225813a84a0a8e37988b6ea/python_can_cvector-1.4.0-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5e92d04b4f3469977da80ba0ec9a8c9e5a735c837aecf218aa16ae42165d0bbf",
                "md5": "b088de0da1b956d7dbb3e0fae5fe7eda",
                "sha256": "04a0fc3ef3e7f80062ce8a20ca6b171bef7cbbc4f75b5c1d01c8b1b5361e2515"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.4.0-pp310-pypy310_pp73-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "b088de0da1b956d7dbb3e0fae5fe7eda",
            "packagetype": "bdist_wheel",
            "python_version": "pp310",
            "requires_python": ">=3.7",
            "size": 107606,
            "upload_time": "2024-06-24T19:10:08",
            "upload_time_iso_8601": "2024-06-24T19:10:08.049101Z",
            "url": "https://files.pythonhosted.org/packages/5e/92/d04b4f3469977da80ba0ec9a8c9e5a735c837aecf218aa16ae42165d0bbf/python_can_cvector-1.4.0-pp310-pypy310_pp73-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d16e15d703aaf691b36396018d1a4efa2a0843dcb5450506042f0d4d80416a85",
                "md5": "c7ceaa79a50973780910045eca10b339",
                "sha256": "7eb26aedfc48c85c0ddb13964d742b1bdf9663a680566d9c2ac87d584c540fb7"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.4.0-pp37-pypy37_pp73-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "c7ceaa79a50973780910045eca10b339",
            "packagetype": "bdist_wheel",
            "python_version": "pp37",
            "requires_python": ">=3.7",
            "size": 107310,
            "upload_time": "2024-06-24T19:10:09",
            "upload_time_iso_8601": "2024-06-24T19:10:09.457090Z",
            "url": "https://files.pythonhosted.org/packages/d1/6e/15d703aaf691b36396018d1a4efa2a0843dcb5450506042f0d4d80416a85/python_can_cvector-1.4.0-pp37-pypy37_pp73-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f7198c5eaab22bc19425709404355c05ffaa0c56e0b2c850eb6b7fc81ec7e2b5",
                "md5": "81453df3c50a512dc31b93af5dba8ab9",
                "sha256": "5611cb2508ddeccff10a64d2e75557dc8e0b1f3ac2e5e09ec5c319640d81378d"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.4.0-pp38-pypy38_pp73-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "81453df3c50a512dc31b93af5dba8ab9",
            "packagetype": "bdist_wheel",
            "python_version": "pp38",
            "requires_python": ">=3.7",
            "size": 107316,
            "upload_time": "2024-06-24T19:10:11",
            "upload_time_iso_8601": "2024-06-24T19:10:11.179950Z",
            "url": "https://files.pythonhosted.org/packages/f7/19/8c5eaab22bc19425709404355c05ffaa0c56e0b2c850eb6b7fc81ec7e2b5/python_can_cvector-1.4.0-pp38-pypy38_pp73-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d256464646cb7985ea9295db95ae6ea3f6c5c143f320b2646e66a0b204d68c93",
                "md5": "fcc4c93b69c8debde9af1a95b0fa9f15",
                "sha256": "52939581f475f5f7aa01f93c93ffe04a5d9c1cc49c7b567f5577cf380a46d971"
            },
            "downloads": -1,
            "filename": "python_can_cvector-1.4.0-pp39-pypy39_pp73-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "fcc4c93b69c8debde9af1a95b0fa9f15",
            "packagetype": "bdist_wheel",
            "python_version": "pp39",
            "requires_python": ">=3.7",
            "size": 107597,
            "upload_time": "2024-06-24T19:10:13",
            "upload_time_iso_8601": "2024-06-24T19:10:13.221115Z",
            "url": "https://files.pythonhosted.org/packages/d2/56/464646cb7985ea9295db95ae6ea3f6c5c143f320b2646e66a0b204d68c93/python_can_cvector-1.4.0-pp39-pypy39_pp73-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-24 19:09:46",
    "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: 2.86790s