python-can-bluetooth


Namepython-can-bluetooth JSON
Version 0.1.2 PyPI version JSON
download
home_page
SummaryA python-can interface driver for CAN transmitted over a Bluetooth SPP connection
upload_time2023-04-26 22:12:09
maintainer
docs_urlNone
author
requires_python>=3.7
licenseGNU Lesser General Public License v3 (LGPLv3)
keywords canbus bluetooth python-can esp32
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            python-can-bluetooth
====================
|release| |python_implementation| |ci| |coverage| |downloads|

.. |release| image:: https://img.shields.io/pypi/v/python-can-bluetooth.svg
   :target: https://pypi.python.org/pypi/python-can-bluetooth/
   :alt: Latest Version on PyPi

.. |python_implementation| image:: https://img.shields.io/pypi/implementation/python-can-bluetooth
   :target: https://pypi.python.org/pypi/python-can-bluetooth/
   :alt: Supported Python implementations
   
.. |downloads| image:: https://pepy.tech/badge/python-can-bluetooth
   :target: https://pepy.tech/project/python-can-bluetooth
   :alt: Downloads on PePy
   
.. |coverage| image:: https://coveralls.io/repos/github/MattWoodhead/python-can-bluetooth/badge.svg?branch=main
   :target: https://coveralls.io/github/MattWoodhead/python-can-bluetooth?branch=main
   
.. |ci| image:: https://github.com/MattWoodhead/python-can-bluetooth/actions/workflows/tox.yml/badge.svg
   :target: https://github.com/MattWoodhead/python-can-bluetooth/actions/workflows/tox.yml


This module is a plugin for the python-can_. module, that allows the use of CAN messages transmitted over a Bluetooth SPP connection. It is similar to the CAN over serial protocol included in the python-can_. package, but includes additional error checking to ensure messages are not corrupted during transmission.


Installation
------------

Install using pip::

    $ pip install python-can-bluetooth


Usage
-----

In general, useage is largely the same as with the main python-can_ library, using the interface designation of "bluetooth".

Create python-can bus with the Bluetooth interface:

.. code-block:: python

    import can

    bus = can.Bus(interface="bluetooth", channel="COM4", bitrate=250000, echo=False)

Some examples are present in the python-can-bluetooth/examples_ directory in the repository.


.. _python-can: https://python-can.readthedocs.org/en/stable/

.. _examples: https://github.com/MattWoodhead/python-can-bluetooth/tree/main/examples

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "python-can-bluetooth",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "CANbus,Bluetooth,python-can,ESP32",
    "author": "",
    "author_email": "Matt Woodhead <woody.w62@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/86/20/5c645356c11f824710b005a6cc6987758c4429f1a922b498e5bc6712f2a6/python-can-bluetooth-0.1.2.tar.gz",
    "platform": null,
    "description": "python-can-bluetooth\n====================\n|release| |python_implementation| |ci| |coverage| |downloads|\n\n.. |release| image:: https://img.shields.io/pypi/v/python-can-bluetooth.svg\n   :target: https://pypi.python.org/pypi/python-can-bluetooth/\n   :alt: Latest Version on PyPi\n\n.. |python_implementation| image:: https://img.shields.io/pypi/implementation/python-can-bluetooth\n   :target: https://pypi.python.org/pypi/python-can-bluetooth/\n   :alt: Supported Python implementations\n   \n.. |downloads| image:: https://pepy.tech/badge/python-can-bluetooth\n   :target: https://pepy.tech/project/python-can-bluetooth\n   :alt: Downloads on PePy\n   \n.. |coverage| image:: https://coveralls.io/repos/github/MattWoodhead/python-can-bluetooth/badge.svg?branch=main\n   :target: https://coveralls.io/github/MattWoodhead/python-can-bluetooth?branch=main\n   \n.. |ci| image:: https://github.com/MattWoodhead/python-can-bluetooth/actions/workflows/tox.yml/badge.svg\n   :target: https://github.com/MattWoodhead/python-can-bluetooth/actions/workflows/tox.yml\n\n\nThis module is a plugin for the python-can_. module, that allows the use of CAN messages transmitted over a Bluetooth SPP connection. It is similar to the CAN over serial protocol included in the python-can_. package, but includes additional error checking to ensure messages are not corrupted during transmission.\n\n\nInstallation\n------------\n\nInstall using pip::\n\n    $ pip install python-can-bluetooth\n\n\nUsage\n-----\n\nIn general, useage is largely the same as with the main python-can_ library, using the interface designation of \"bluetooth\".\n\nCreate python-can bus with the Bluetooth interface:\n\n.. code-block:: python\n\n    import can\n\n    bus = can.Bus(interface=\"bluetooth\", channel=\"COM4\", bitrate=250000, echo=False)\n\nSome examples are present in the python-can-bluetooth/examples_ directory in the repository.\n\n\n.. _python-can: https://python-can.readthedocs.org/en/stable/\n\n.. _examples: https://github.com/MattWoodhead/python-can-bluetooth/tree/main/examples\n",
    "bugtrack_url": null,
    "license": "GNU Lesser General Public License v3 (LGPLv3)",
    "summary": "A python-can interface driver for CAN transmitted over a Bluetooth SPP connection",
    "version": "0.1.2",
    "split_keywords": [
        "canbus",
        "bluetooth",
        "python-can",
        "esp32"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ecb43a8be176a7acffc57cf324a7764ba6b386a9163a4b654ab079e2e83215ab",
                "md5": "d21b1dcafe97b342abe0da02e7f78dc8",
                "sha256": "84a76db342dd4c4fb0e3c40b23c5510ba1230157c54d184131d384e4e5afe741"
            },
            "downloads": -1,
            "filename": "python_can_bluetooth-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d21b1dcafe97b342abe0da02e7f78dc8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 11802,
            "upload_time": "2023-04-26T22:12:06",
            "upload_time_iso_8601": "2023-04-26T22:12:06.956772Z",
            "url": "https://files.pythonhosted.org/packages/ec/b4/3a8be176a7acffc57cf324a7764ba6b386a9163a4b654ab079e2e83215ab/python_can_bluetooth-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "86205c645356c11f824710b005a6cc6987758c4429f1a922b498e5bc6712f2a6",
                "md5": "00eb27a0a3beb132419fc2f1b2872ed0",
                "sha256": "d86c70408f0c45bf4dbe02b4497abd138703d9005f615474a5889cc846578e5e"
            },
            "downloads": -1,
            "filename": "python-can-bluetooth-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "00eb27a0a3beb132419fc2f1b2872ed0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 12252,
            "upload_time": "2023-04-26T22:12:09",
            "upload_time_iso_8601": "2023-04-26T22:12:09.190947Z",
            "url": "https://files.pythonhosted.org/packages/86/20/5c645356c11f824710b005a6cc6987758c4429f1a922b498e5bc6712f2a6/python-can-bluetooth-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-26 22:12:09",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "python-can-bluetooth"
}
        
Elapsed time: 0.06402s