Library for creating Stream Deck plugins in Python.
Project description
streamdeck-python-sdk
Library for creating Stream Deck plugins in Python.
Supported operating systems:
- MacOS: 10.14 or later
- Windows: 10 or later
Supported Python versions: 3.8 or later
Installation
⚠️ For correct operation on Windows, it is recommended to enable
LongPaths
support in the system: manual. Without this setting, problems with installation and use may occur!
pip install streamdeck-sdk[dev]
Features
- Ease of use. You can quickly create your own plugin without having to understand how websockets and other technologies work.
- Fully typed, using pydantic.
- Includes image to base64 converters for easy installation of icons on keys.
- Includes a decorator for functions and methods to run on a separate thread.
- Exception logging and easy logging configuration.
- Debug mode via
PyCharm
or other debugging tools. - A complete protocol for interaction with the Stream Deck application has been implemented.
- Quick start of a project via the console command
streamdeck_sdk startproject
. - Build the project using the
streamdeck_sdk build
console command. - Property Inspector Generator. Write code in Python and get html and js for PI.
⚠️ Limitations
- During installation and update of the plugin, the Internet must be available.
Windows
- Plugin requirements should take no longer than 30 seconds to install. This is a feature of Stream Deck on Windows, since the program restarts the plugin if a websocket connection has not been established within 30 seconds. Therefore, you need a good Internet connection when installing and updating the plugin.
Examples
LoremFlickr - Plugin for installing images on a button from the LoremFlickr site. Supports MacOS and Windows.
Proxy Manager - Plugin for enabling and disabling proxies on MacOS. Periodically polls the proxy status through a separate thread.
One-time password - Plugin for generating one-time passwords, like in Google Authenticator. Has several Actions. Supports MacOS and Windows.
See full description and usage examples on GitHub
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for streamdeck_sdk-1.2.0.dev10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b49d46bc26b92705acf32a1fac48cbdcd2bb085a29da9713dc31e98abedeefe |
|
MD5 | 7db45070bbc17dd840f57a0de32378d9 |
|
BLAKE2b-256 | 92906ca866ab95b86893c89590e4d6ea28d4e26437d4fee0d097e5f5610a1ed0 |
Hashes for streamdeck_sdk-1.2.0.dev10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 165876c5af97e85049dd996662bd586c387af5e61a4c46d6ed52db5bca991f77 |
|
MD5 | 27a5979c058e764f49e4e61b00d5f12b |
|
BLAKE2b-256 | d7a1aa3a6e9a8b86338b6294c136875618354ea940537790a2967987676595bd |