Binho Host Adapter Python Libraries
Introduction
Cross-platform Python 3.x library for automated control of Binho Multi-Protocol USB Host Adapters. More information about the device can be found at https://www.binho.io
Dependencies
This library requires pySerial for cross-platform access of the serial port. This library will be installed automatically by pip, however for easy reference, this can be manually installed simply by running the following command:
pip install pyserial
Installation
This library can be installed easily with the following command:
pip install binho-host-adapter
Example Usage
from binhoHostAdapter import binhoHostAdapter
from binhoHostAdapter import binhoUtilities
print("Demo Script with Binho Host Adapter Python Libraries")
print
devices = binhoUtilities.listAvailableDevices()
if len(devices) == 0:
print("No Devices Found!")
exit()
elif len(devices) == 1:
COMPORT = devices[0]
print("Found 1 attached adapter @ " + devices[0])
print
else:
COMPORT = devices[0]
print("Found more than 1 attached adapter, using first device found on " + COMPORT)
print
print("Opening " + COMPORT + "...")
print
# create the binhoHostAdapter object
binho = binhoHostAdapter.binhoHostAdapter(COMPORT)
print("Connecting to host adapter...")
print(binho.getDeviceID())
print
Documentation
The full set of documentation for this python library can be found at https://support.binho.io/python-libraries
Metadata
Release files for binho-host-adapter 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| binho-host-adapter-0.1.6.tar.gz | 10.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| binho_host_adapter-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.6 kB
Release files / binho-host-adapter-0.1.6.tar.gz
| Download URL | binho-host-adapter-0.1.6.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e6da7a84e208c13b5f489066f05774bff1d593d0f5bf1ca149c2b8e83eae856
|
|
BLAKE2b-256 checksum How to use checksums |
683629b7b896e83e195fac6d64ccff95c0f24a18ee86e7437a22e60e0331d90a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0
|
Release files / binho_host_adapter-0.1.6-py3-none-any.whl
| Download URL | binho_host_adapter-0.1.6-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f71ca176c1e2fc1a5dce128beb286da217555c6c7c805f2ed282a6f3507ec277
|
|
BLAKE2b-256 checksum How to use checksums |
7b6b0f13486003aea3eb349c2946b7ec9753e7558b78e35d22c938062a96959c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0
|