Skip to main content

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 で表示されるヘルプ情報を参照してください。

Release files for pyusbio 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyusbio 0.1.3
File Size Uploaded
pyusbio-0.1.3.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyusbio 0.1.3
File Interpreter ABI Platform
pyusbio-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size:11.2 kB

Release files / pyusbio-0.1.3.tar.gz

Download URL pyusbio-0.1.3.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1c2afddf7c425d155a22894225ab200c5379401317c871540bf0f87dd58202cf
BLAKE2b-256 checksum
How to use checksums
ba71c4d66ac3312f6e157af74d3062a8284076da479ae4a6da481801219820a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.2 CPython/3.8.5 Linux/5.8.0-3-amd64

Release files / pyusbio-0.1.3-py3-none-any.whl

Download URL pyusbio-0.1.3-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b418d6af65da08db2a9b8e12523cba48dcf278405d33ad093fb7ad95aa03f70
BLAKE2b-256 checksum
How to use checksums
df42af907744f00d570a2d76348bdae38778312a468ba080f492debd21701364
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.2 CPython/3.8.5 Linux/5.8.0-3-amd64

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page