Skip to main content

USB-IO2 control library for Python

Project description

pyusbio

これは、USB-IO2.0をコントロールする ためのライブラリです。

使い方

>>> import pyusbio
>>> usbio = usbio.USBIO()
>>> if usbio.find_and_init():
...   port0, port1 = usbio.send2read([0x00, 0x01])
...   print("{0:x}, {1:x}".format(port0, port1))

必須依存ライブラリ

動作を確認しているOS

  • Linux (Debian Sid)
  • Windows10

対応Python

Python3.6以上
(Python2系列は未サポートです。)

制限事項

  • 1つのUSB-IO2.0しか認識できません。

ライセンス

MIT

おまけ

付属のusbio_config.pyは、USB-IO2.0の内部設定を変更するツールです。 使い方については、 python usbio_config.py --help で表示されるヘルプ情報を参照してください。

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

pyusbio-0.1.3.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

pyusbio-0.1.3-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file pyusbio-0.1.3.tar.gz.

File metadata

  • Download URL: pyusbio-0.1.3.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.2 CPython/3.8.5 Linux/5.8.0-3-amd64

File hashes

Hashes for pyusbio-0.1.3.tar.gz
Algorithm Hash digest
SHA256 1c2afddf7c425d155a22894225ab200c5379401317c871540bf0f87dd58202cf
MD5 5570ad8a607f2a27d546c67b7041c045
BLAKE2b-256 ba71c4d66ac3312f6e157af74d3062a8284076da479ae4a6da481801219820a3

See more details on using hashes here.

File details

Details for the file pyusbio-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pyusbio-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.2 CPython/3.8.5 Linux/5.8.0-3-amd64

File hashes

Hashes for pyusbio-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2b418d6af65da08db2a9b8e12523cba48dcf278405d33ad093fb7ad95aa03f70
MD5 936718e566af53e4f0b0ebd8c74d72ee
BLAKE2b-256 df42af907744f00d570a2d76348bdae38778312a468ba080f492debd21701364

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