Linux Systems (Ubuntu/Debian)
You need to install pillow, pyudev, threading, ctypes, time, abc
pip install pillow
pip install pyudev
pip install threading
pip install ctypes
pip install time
pip install abc
When using it, you need to first define a DeviceManager class object (device manager class), and then call its enumerate() function to traverse the devices and obtain a list of device objects.
manner = DeviceManager();
streamdocks = manner.enumerate();
After obtaining the list of device objects, you need to call the open() method to open the device before calling other methods to operate on the device.
for device in streamdocks:
device.open()
device.refresh()
t1 = threading.Thread(target=device.whileread)
t1.start()
# 0-100
device.set_brightness(100)
device.set_touchscreen_image("1.jpg")
time.sleep(1)
device.set_key_image(3, "2.jpg")
time.sleep(1)
device.cleaerIcon(3)
time.sleep(1)
device.clearAllIcon()
device.refresh()
time.sleep(1)
device.close()
time.sleep(1)
Please see the document for details
Metadata
Release files for streamdock 0.1.2
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 |
|---|---|---|---|---|
| streamdock-0.1.2.tar.gz | 50.5 kB | Without provenance | Details for streamdock-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| streamdock-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for streamdock-0.1.2-py3-none-any.whl |
Total release size: 102.6 kB
Release files / streamdock-0.1.2.tar.gz
| Download URL | streamdock-0.1.2.tar.gz |
|---|---|
| Size | 50.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
996988976630d4a28b44f055ca562dc72bb5fafbd50bf87d1fda9bd4bcb9191c
|
|
BLAKE2b-256 checksum How to use checksums |
efc4dd521227c259dfa04c8370656e04c4b4d6adc28c570842cccf2dd3a73d42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.5
|
Release files / streamdock-0.1.2-py3-none-any.whl
| Download URL | streamdock-0.1.2-py3-none-any.whl |
|---|---|
| Size | 52.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bba82da90ff59693c79c18a9e127de190fa35f2965563d83281667411906b52b
|
|
BLAKE2b-256 checksum How to use checksums |
31c1c2e1d15d3572e1042f53f000b9f9a2ba272f92fe2bfaede1b552095bde96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.5
|
Security for streamdock 0.1.2
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.