DevDeck - Slack
Slack deck and controls for DevDeck.
In this example, you can manage your presence, status and do-not-disturb settings from your StreamDeck:
Installing
Simplify install DevDeck - Slack into the same python environment that you have installed DevDeck.
pip install devdeck-slack
You can then update your DevDeck configuration to use decks and controls from this package.
Configuration
Example configuration:
decks:
- serial_number: "ABC123"
name: 'devdeck.decks.single_page_deck_controller.SinglePageDeckController'
settings:
controls:
- name: 'devdeck_slack.slack_deck.SlackDeck'
key: 0
settings:
api_key: 'YOUR_API_KEY_GOES_HERE'
actions:
- action: online
key: 0
- action: away
key: 1
- action: status
key: 2
text: At my desk
emoji: ':desktop_computer:'
clear_dnd: true
- action: status
key: 5
text: In a meeting
emoji: ':calendar:'
- action: status
key: 6
text: Lunch
emoji: ':sandwich:'
- action: status
key: 7
text: Off sick
emoji: ':face_with_thermometer:'
until: tomorrow at 8am
- action: status
key: 8
text: On holiday
emoji: ':palm_tree:'
- action: dnd
key: 10
duration: 15
- action: dnd
key: 11
duration: 30
- action: dnd
key: 12
duration: 45
- action: dnd
key: 13
duration: 60
- action: dnd
key: 14
duration: 120
Registering your app and creating permissions
This plugin requires a Slack API key to function.
Head over to https://api.slack.com/apps to create your app.
Once you have created your app you will be able to access your OAuth Access Token under OAuth & Permissions - this
is your api_key value.
Scopes
Under User Token Scopes you need want to enable the following scopes:
dnd:readdnd:writeusers.profile:writeusers:write
Metadata
Release files for devdeck-slack 1.0.5
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 |
|---|---|---|---|---|
| devdeck_slack-1.0.5.tar.gz | 52.9 kB | Without provenance | Details for devdeck_slack-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| devdeck_slack-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for devdeck_slack-1.0.5-py3-none-any.whl |
Total release size: 107.8 kB
Release files / devdeck_slack-1.0.5.tar.gz
| Download URL | devdeck_slack-1.0.5.tar.gz |
|---|---|
| Size | 52.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c6fc5b6c6b2d3c6a1f31953c2290ccac2ff7b5dcc5fd6089f5327f948d7148dc
|
|
BLAKE2b-256 checksum How to use checksums |
378570aaf8e0588a188579a1e26cb06dc424979aa9845802d50375d5e0839116
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11
|
Release files / devdeck_slack-1.0.5-py3-none-any.whl
| Download URL | devdeck_slack-1.0.5-py3-none-any.whl |
|---|---|
| Size | 54.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7bd0600e7cff9fef114b12517a03cb9f38008142d3c9d9413d7dab1a5e05682a
|
|
BLAKE2b-256 checksum How to use checksums |
65e546d29d7c3b443d6cf40c6d1949ac92fbcac24b6aff746073287b65cfcbc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11
|
Security for devdeck-slack 1.0.5
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.