Installation
In order to install filipid please run setup.py script or use PIP.
python setup.py install
Using PIP
pip install filipid
Example of usage
from filipid import port
port = port.Port(port='/dev/cu.usbserial-A901A1JZ')
tmp = port.send([253, 252, 2, 3, 0], 0.04)
print(tmp)
tmp = port.send([253, 251, 2, 0], 0.02)
print(tmp)
tmp = port.send([255, 2], 0.02)
print(tmp)
Utils tool
If you want to list all available ports
>>> list_ports
/dev/cu.SRS-XB10-CSRGAIA-1
/dev/cu.BoseQuietComfort35-SPPD-1
/dev/cu.usbserial-A901A1JZ
Release files for filipid 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| filipid-0.0.4.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| filipid-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / filipid-0.0.4.tar.gz
| Download URL | filipid-0.0.4.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f6e998f42ef84b5e47c45c9f4929a002ededeafcce7b93aa6fd72d32351c7e6
|
|
BLAKE2b-256 checksum How to use checksums |
029405df710a7f6362bf6a865af739e74094084f0d363093feb2a7e9930439a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.6.4
|
Release files / filipid-0.0.4-py3-none-any.whl
| Download URL | filipid-0.0.4-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a4a8c87e2ae0eb14c5ceba413705908d83360c8b8b83367c4b7d4942f9085fd5
|
|
BLAKE2b-256 checksum How to use checksums |
a873d4ed51796a5fae073a72ed38bd038561a8a8adf2e4bd1ba73d13e56c55c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.6.4
|