Macro daemon for dedicated keyboards
Project description
macrokeyd
macrokeyd es un daemon Python que permite asignar acciones personalizadas a un teclado específico, como comandos, texto, atajos de sistema o secuencias encadenadas. Diseñado para ejecutarse como servicio systemd y con configuración modular en JSON.
🚀 Instalación rápida desde PyPI
pip install macrokeyd
Requiere Python >= 3.7 y Linux con soporte para
evdev.
🧪 Probar instalación
macrokeyd --help
macrokeyd --version
Puedes lanzar el daemon con:
macrokeyd --run
Por defecto busca
~/.local/share/macrokeyd/default.jsony lo crea si no existe.
⚙️ Instalar como servicio systemd
macrokeyd-install-service
Verificar estado:
systemctl status macrokeyd
Desinstalar:
macrokeyd-uninstall-service
🎛️ Configuración de macros
El archivo de configuración se encuentra (o se crea) en:
~/.local/share/macrokeyd/default.json
Ejemplo de contenido:
{
"meta": {
"target_device_name": "TEC-FX556K"
},
"macros": {
"KEY_Q": {"action": "command", "value": "gnome-terminal"},
"KEY_W": {"action": "text", "value": "Hello world"}
}
}
🧱 Desarrollo local
git clone https://gitlab.com/tu_usuario/macrokeyd.git
cd macrokeyd
make install
🛠 Comandos útiles (make)
make build→ genera el paquete.whly.tar.gzmake install→ instala localmente con--force-reinstallmake clean→ limpia artefactosmake release LEVEL=patch→ sube versión y hace pushmake release-changelog→ igual quereleasey actualizaCHANGELOG.mdmake release-pypi→ publica en PyPImake release-test→ publica en TestPyPI
📦 Publicación en PyPI
Ver RELEASE.md para el ciclo completo de versionado y publicación.
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file macrokeyd-0.1.6.tar.gz.
File metadata
- Download URL: macrokeyd-0.1.6.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ae029db2c7d6401f196356c9bad2e2ad38cb1f00fb1b69005af5ca14fdd05c8
|
|
| MD5 |
cf2b43f5a41e20cbf3218892f524827e
|
|
| BLAKE2b-256 |
688ede0b4972e6041a3901208bbcb1c89edb2b4c575723500bd4a877e65bce4e
|
File details
Details for the file macrokeyd-0.1.6-py3-none-any.whl.
File metadata
- Download URL: macrokeyd-0.1.6-py3-none-any.whl
- Upload date:
- Size: 19.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ab4e86b9547cccec38cfd17acedb4f6d3f209c9d2df308427248a530854da55
|
|
| MD5 |
e8aaedffaac41eedfdc899252f29f328
|
|
| BLAKE2b-256 |
4b553caf1d85e3f4d68ca02eccb379530561a9619eae41ebc2a82ac0d507bee7
|