Skip to main content

Python-can CANine

Project description

python-can-canine

This module is a plugin that lets you use CANine adapters <https://tinymovr.com/products/can-bus-adapter>_ with the CANine firmware <https://github.com/tinymovr/CANine>_ in python-can.

Installation

Install using pip::

$ pip install python-can-canine

Usage

Overall, using this plugin is quite similar to the main Python-CAN library, with the interface named "canine". To integrate the Canine interface into your scripts, you can import constants, device designations, and more from the Python-CAN-Canine module using "import canine". For most scenarios, incorporating a Canine interface is as easy as modifying Python-CAN examples with the lines provided below:

Create python-can bus with the Canine USB interface:

.. code-block:: python

import can
from canine import CANineBus

bus = can.Bus(interface="canine", bitrate=1000000)

Project details


Download files

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

Source Distribution

python-can-canine-0.2.1.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_can_canine-0.2.1-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file python-can-canine-0.2.1.tar.gz.

File metadata

  • Download URL: python-can-canine-0.2.1.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for python-can-canine-0.2.1.tar.gz
Algorithm Hash digest
SHA256 8e140265cd42eeaf55aed72f82ac3a9e10425bedeeea427ca48e6aa5e74aba0f
MD5 9995f3d5b73609882142f1dca9111c94
BLAKE2b-256 79183c87effc3f2604f030600ebe598e7a4bba9b38b762ef0a2cdc97286329b1

See more details on using hashes here.

File details

Details for the file python_can_canine-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for python_can_canine-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 23acbd332a0273e429ecdf0a93f04a18682fb807dc2825bb6c4ffcc0209e0675
MD5 e29e915de486dfcbc383430a664ff4ca
BLAKE2b-256 93e7563849e3aa9ac7d3dc652ee8b121a42c03ab5c4240f7a636eb1f0f5ef0b7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page