Name | binho-host-adapter JSON |
Version |
0.1.6
JSON |
| download |
home_page | https://binho.io |
Summary | Python Libraries for Binho Multi-Protocol USB Host Adapters |
upload_time | 2020-06-04 19:38:11 |
maintainer | |
docs_url | None |
author | Binho LLC |
requires_python | |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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](https://github.com/pyserial/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
```python
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
Raw data
{
"_id": null,
"home_page": "https://binho.io",
"name": "binho-host-adapter",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Binho LLC",
"author_email": "support@binho.io",
"download_url": "https://files.pythonhosted.org/packages/68/36/29b7b896e83e195fac6d64ccff95c0f24a18ee86e7437a22e60e0331d90a/binho-host-adapter-0.1.6.tar.gz",
"platform": "",
"description": "# Binho Host Adapter Python Libraries\n\n### Introduction\n\nCross-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\n\n### Dependencies\n\nThis library requires [pySerial](https://github.com/pyserial/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:\n```\npip install pyserial\n```\n\n### Installation\n\nThis library can be installed easily with the following command:\n```\npip install binho-host-adapter\n```\n\n### Example Usage\n\n```python\nfrom binhoHostAdapter import binhoHostAdapter\nfrom binhoHostAdapter import binhoUtilities\n\nprint(\"Demo Script with Binho Host Adapter Python Libraries\")\nprint\n\ndevices = binhoUtilities.listAvailableDevices()\n\nif len(devices) == 0:\n\tprint(\"No Devices Found!\")\n\texit()\n\nelif len(devices) == 1:\n\tCOMPORT = devices[0]\n\tprint(\"Found 1 attached adapter @ \" + devices[0])\n\tprint\nelse:\n\tCOMPORT = devices[0]\n\tprint(\"Found more than 1 attached adapter, using first device found on \" + COMPORT)\n\tprint\n\nprint(\"Opening \" + COMPORT + \"...\")\nprint\n\n# create the binhoHostAdapter object\nbinho = binhoHostAdapter.binhoHostAdapter(COMPORT)\n\nprint(\"Connecting to host adapter...\")\nprint(binho.getDeviceID())\nprint\n```\n### Documentation\n\nThe full set of documentation for this python library can be found at https://support.binho.io/python-libraries\n\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Python Libraries for Binho Multi-Protocol USB Host Adapters",
"version": "0.1.6",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "c830d0ad7c2f5390e2cf7616605c14ab",
"sha256": "f71ca176c1e2fc1a5dce128beb286da217555c6c7c805f2ed282a6f3507ec277"
},
"downloads": -1,
"filename": "binho_host_adapter-0.1.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c830d0ad7c2f5390e2cf7616605c14ab",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 10540,
"upload_time": "2020-06-04T19:38:10",
"upload_time_iso_8601": "2020-06-04T19:38:10.612644Z",
"url": "https://files.pythonhosted.org/packages/7b/6b/0f13486003aea3eb349c2946b7ec9753e7558b78e35d22c938062a96959c/binho_host_adapter-0.1.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "c4e2bf1a92c53fa7c743fecac7dfd9d6",
"sha256": "1e6da7a84e208c13b5f489066f05774bff1d593d0f5bf1ca149c2b8e83eae856"
},
"downloads": -1,
"filename": "binho-host-adapter-0.1.6.tar.gz",
"has_sig": false,
"md5_digest": "c4e2bf1a92c53fa7c743fecac7dfd9d6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10068,
"upload_time": "2020-06-04T19:38:11",
"upload_time_iso_8601": "2020-06-04T19:38:11.789421Z",
"url": "https://files.pythonhosted.org/packages/68/36/29b7b896e83e195fac6d64ccff95c0f24a18ee86e7437a22e60e0331d90a/binho-host-adapter-0.1.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2020-06-04 19:38:11",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "binho-host-adapter"
}