Skip to main content

Controller for USB managed hubs

Project description

usbman

OpenSSF Scorecard

Software to control 'managed' USB hubs compatible with 'cuspi' closed source binary. For example:

StarTech.com managed hub

Installation

Using pypi

pip install usbman

Using a pre-built release

Place the binary in your PATH.

From source, using pyinstaller

This build a native package.

git clone https://github.com/sebastien-riou/usbman.git
cd usbman
pipenv sync
pipenv run ./package_usbman

Add dist/usbman in your PATH.

How to

Display the current state

This list the channels which are ON:

usbman --device-path /dev/ttyUSB0

Turn on some channels

This turns on channels 1 and 5:

usbman --device-path /dev/ttyUSB0 --on 1 5

Turn off some channels

This turn off channel 1 and 5:

usbman --device-path /dev/ttyUSB0 --off 1 5

Turn off some channels for some time and turn back on

This turn off channel 1 and 5 for 0.5 second:

usbman --device-path /dev/ttyUSB0 --off-pulse 1 5 --toff=0.5

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

usbman-1.1.1.tar.gz (279.7 kB view details)

Uploaded Source

Built Distribution

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

usbman-1.1.1-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file usbman-1.1.1.tar.gz.

File metadata

  • Download URL: usbman-1.1.1.tar.gz
  • Upload date:
  • Size: 279.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for usbman-1.1.1.tar.gz
Algorithm Hash digest
SHA256 265c1f6e13022af52c4d4913a4efadd5c320efc6efef19f074e6fbc5f510bf9e
MD5 a83f26cda6e4302dec7784540c64a1f0
BLAKE2b-256 414451460809dcb33aee6464fd4c48ec26c1f371cb9d89a6f5dfc9ad7bc214e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for usbman-1.1.1.tar.gz:

Publisher: on-release.yml on sebastien-riou/usbman

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

File details

Details for the file usbman-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: usbman-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for usbman-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8d7b9c3bc4706f3e0092e7c487d6455bde35a1d8942355de404b538482ea19af
MD5 83797e19074d2b855de924a8a17c30c9
BLAKE2b-256 e17488898b01e531a53c77cc332f68fbbccd85365360e04c6912ea60f51238cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for usbman-1.1.1-py3-none-any.whl:

Publisher: on-release.yml on sebastien-riou/usbman

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