Skip to main content

Python Wrapper for Toomoss USB

Project description

TOOMOSS SDK

TOOMOSS USB to CAN, CANFD, LIN, PWM python SDK

source code adapted from usb2can_lin_pwm_example

Installation

$ uv venv
$ uv pip install toomoss_py

Example

from ctypes import byref, c_uint

from toomoss_py.api.usb_device import USB_ScanDevice

dev_handles = (c_uint * 8)()
ret = USB_ScanDevice(byref(dev_handles))
if ret == 0:
    raise Exception("ToomossLIN: No device connected!")

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

toomoss_py-0.1.1.tar.gz (7.6 MB view details)

Uploaded Source

Built Distribution

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

toomoss_py-0.1.1-py3-none-any.whl (7.6 MB view details)

Uploaded Python 3

File details

Details for the file toomoss_py-0.1.1.tar.gz.

File metadata

  • Download URL: toomoss_py-0.1.1.tar.gz
  • Upload date:
  • Size: 7.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for toomoss_py-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1bd7c59992a2d50fade6e4793fb8f11af0bcb8530e061d50de3d1063495ca80b
MD5 c18f44fa19b4f29f7af7bb82a963cc4d
BLAKE2b-256 86b789dc658a63e5acf1db454ae1ac5bf09d2ef2a6bcb877e93d5bf2dce6edc8

See more details on using hashes here.

Provenance

The following attestation bundles were made for toomoss_py-0.1.1.tar.gz:

Publisher: python-publish.yml on mikisama/toomoss_py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file toomoss_py-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: toomoss_py-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for toomoss_py-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e103a799073f4eb8a4b7b31040a8b7d54f6539b81bfa058f7159149a81278d77
MD5 f67a8049c505c27eed256ac2b9ea8440
BLAKE2b-256 a5a9bab4fc2562475eefc06e14e7d208681480f003132ccdb04989b0bdd39e39

See more details on using hashes here.

Provenance

The following attestation bundles were made for toomoss_py-0.1.1-py3-none-any.whl:

Publisher: python-publish.yml on mikisama/toomoss_py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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