This release is a pre-release and may not be stable for production use.
PyUSBTMC
PyUSBTMC:python module to handle USB-TMC(Test and Measurement class) devices. It requires pyusb module and libusb or openusb libraries.
(C) 2012-2015, Noboru Yamamot, Accl. Lab, KEK, JAPAN contact: noboru.yamamoto_at_kek.jp
- rev.0.1d17:
.read/.ask functions now use 0 as default values for requestSize arguments. And requestSize=0 means, read data until eom is returned.
- rev.0.1d14:
remove reset in __init__ of USBTMC_device. It breaks everything for the device from Tektronix. bring back mkDevDepMSGOUTHeader to older version.
Note on root priviledge
PyUSBTMCでPyUSBTMC_deviceあるいはUSB488_deviceオブジェクトの作成時に、 “usb.core.USBError: [Errno 13] Access denied (insufficient permissions)”のエラーが出る場合があります。
この場合には、
sudo コマンド経由でpython3を起動する。
Linux では、この配布に含まれる 55-usb-tmc488.rules ファイルを /etc/udeb/rules.d ディレクトリにコピーします(root権限が必要です)。 使用するデバイスのidVendorが 55-usb-tmc488.rules に含まれない場合は、そのidVendorをファイルに追加します。idVendorはlsusbコマンド(このパッケージ中のlsusb.pyモジュールも利用可能)を使って入手できます。 以後は sudo コマンドなしでもデバイスオブジェクトが作成出来ます。
Metadata
Release files for PyUSBTMC 0.2.dev7
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 |
|---|---|---|---|---|
| pyusbtmc-0.2.dev7.tar.gz | 633.2 kB | Without provenance | Details for pyusbtmc-0.2.dev7.tar.gz |
Release files / pyusbtmc-0.2.dev7.tar.gz
| Download URL | pyusbtmc-0.2.dev7.tar.gz |
|---|---|
| Size | 633.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9258513a1c8d94c9c875c5ba4dbdd87fe4f06169744c9c63e317bb0bf9b3e9b
|
|
BLAKE2b-256 checksum How to use checksums |
02322a71962212e96d9d278fc0577429da53cf278a12f147e056a112bbc2f08d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.13
|
Security for PyUSBTMC 0.2.dev7
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.