DevDeck - macOS
A drop-in replacement for operating system controls and decks implemented in DevDeck.
DevDeck is a really neat tool but some of the default controls such as the volume controls assume you are running on a machine with PulseAudio ie; Linux.
This package is intended as a replacement for those controls but with support for macOS instead.
More specifically, it uses osascript to issue system commands under the hood.
By drop-in, you should only have to change the package name in the original DevDeck controls to achieve the same effect for macOS eg;
decks:
- serial_number: "ABC123456789"
name: 'devdeck.decks.single_page_deck_controller.SinglePageDeckController'
settings:
controls:
- - name: 'devdeck.controls.volume_mute_control.VolumeMuteControl'
+ - name: 'devdeck_macos.controls.volume_mute_control.VolumeMuteControl'
Installing
Simply install DevDeck - macOS into the same python environment that you have installed DevDeck.
$ pip install devdeck-macos
You can then update your DevDeck configuration to use decks and controls from this package.
Configuration
At the moment, only VolumeMuteControl is implemented but I plan to port over more controls shortly.
Example configuration:
decks:
- serial_number: "ABC123456789"
name: 'devdeck.decks.single_page_deck_controller.SinglePageDeckController'
settings:
controls:
- name: 'devdeck_macos.controls.volume_mute_control.VolumeMuteControl'
key: 0
NOTE: Unlike the original package, you do not have to specify the specific microphone as it will default to the currently selected default in System Preferences.
If there is a need for it, I can see whether osascript supports muting a specific input device.
Metadata
Release files for devdeck-macos 1.0.0
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_macos-1.0.0.tar.gz | 34.1 kB | Without provenance | Details for devdeck_macos-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| devdeck_macos-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for devdeck_macos-1.0.0-py3-none-any.whl |
Total release size: 69.1 kB
Release files / devdeck_macos-1.0.0.tar.gz
| Download URL | devdeck_macos-1.0.0.tar.gz |
|---|---|
| Size | 34.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54291fa8756fae709a4f657251cde39456cef2a1fe1cbb7bfc92292145f9b914
|
|
BLAKE2b-256 checksum How to use checksums |
ae80bbf84a1e617e10873d47b9c55321bf5c24e333219924edaf47ba732c0aec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.12
|
Release files / devdeck_macos-1.0.0-py3-none-any.whl
| Download URL | devdeck_macos-1.0.0-py3-none-any.whl |
|---|---|
| Size | 35.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c83fcb3c5a6fe0efd7c28124f2dfb7a39ddbd3b01feeba05fe0aded4da779b9f
|
|
BLAKE2b-256 checksum How to use checksums |
38a216f91ae2faba3a7bb07c298054314bab7d7d5cc79459b7cb2e70a756dd65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.12
|
Security for devdeck-macos 1.0.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.