python-can-sontheim
This module is a plugin for the python-can. module, that allows the use of CAN interfaces that rely on the Sontheim Industrie Elektronik (SIE) MTAPI drivers (windows only). These include the SIE CANfox (including rebranded versions such as that by IFM), SIE CANUSB, etc.
Installation
Install using pip:
$ pip install python-can-sontheim
Usage
In general, useage is largely the same as with the main python-can library, using the interface designation of “sontheim”. When integrating the sontheim interface into scripts, it is possible to import constants, device deisgnations etc from the python-can-sontheim module using “import can_sontheim”. For the majority of the use cases, using an SIE interface is as simple as amending any python-can examples with the lines shown below:
Create python-can bus with the SIE CANfox USB interface:
import can
from can_sontheim import devices
bus = can.Bus(interface="sontheim", channel=devices.CANfox.CAN1, bitrate=250000, echo=False)
Some examples are present in the python-can-sontheim/examples directory in the repository, and more complete documentation specific to the SIE interfaces and driver will be uploaded to this module in due course.
Metadata
Release files for python-can-sontheim 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python-can-sontheim-0.1.3.tar.gz | 1.4 MB | Without provenance | Details for python-can-sontheim-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_can_sontheim-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for python_can_sontheim-0.1.3-py3-none-any.whl |
Total release size: 2.8 MB
Release files / python-can-sontheim-0.1.3.tar.gz
| Download URL | python-can-sontheim-0.1.3.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd03ff3cae71a6a0f43900d5fa43cf1907fd5c93902238a3509af5856a0bacdb
|
|
BLAKE2b-256 checksum How to use checksums |
e57f65760ecc836c144967d6f96b57bc6da1b736f85a1aa725e58a6225fa793e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.1
|
Release files / python_can_sontheim-0.1.3-py3-none-any.whl
| Download URL | python_can_sontheim-0.1.3-py3-none-any.whl |
|---|---|
| Size | 1.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e57835aad764d227864fe7c7efb1dc6dc49a1e936cb89f3701e941a03db3396
|
|
BLAKE2b-256 checksum How to use checksums |
a7337198f286c3162d21cae78e127d842bf6fb14b410f9c84f8c2a6c18892296
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.1
|
Security for python-can-sontheim 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.