depict-control
Control your Depict Frame <https://www.depict.com> from Python 3.5 with asyncio!
This initial release is mainly targeting the functionality needed for basic integrations with home automation systems:
Sleep/wake
Brightness + contrast
Setting current image
Usage example
Finding frames on your network
To find the IP addresses of all tables on your local network. This is a very naive search; it assumes your subnet mask is 255.255.255.0:
from depict_control import Frame ip_addrs = await Frame.find_frame_ips()
Once you know the IP address, connect to the table (session is an aiohttp Session object):
async with await Frame.connect(session, ip_addr) as frame: # Do stuff here
Basic controls
In addition to a bunch of properties for querying the current state of the frame, Frame has several methods that allow simple control:
await frame.set_brightness(100) # Set backlight brightness await frame.set_contrast(50) # Set image contrast await frame.set_image_url(url) # Display an image
Metadata
Release files for depict-control 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| depict_control-1.0-py3-none-any.whl | Python 3 | none | any | Details for depict_control-1.0-py3-none-any.whl |
Release files / depict_control-1.0-py3-none-any.whl
| Download URL | depict_control-1.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60b199dbea23e474fd43076cb45d2e806d771c134012f218b3a99e46e8f37c8a
|
|
BLAKE2b-256 checksum How to use checksums |
82e798f6da37b6fccdc41ed114d1cd58108c53098530066c55c120de3c417bca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.3
|
Security for depict-control 1.0
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.