A cross-platform hot key module.
Project description
PyHotKey
Descriptionn
PyHotKey is a cross-platform hot key module for Python. Based on "Pynput" module.
Installation
pip install PyHotKey
Usage:
from PyHotKey import manager, Key
key_id1 = manager.RegisterHotKey(your_function1, [Key.ctrl_l, Key.alt_l, 'z'])
key_id2 = manager.RegisterHotKey(your_function2, [Key.caps_lock], 2, 0.5)
# manager.UnregisterHotKey(key_id1)
manager.start()
...
Release Note
v1.0 - Initial Release
- The first version.
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
PyHotKey-1.0.0.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for PyHotKey-1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03d40ac5a72a332e51c4f896c06771d869e1981820acdd7cb05922a4033193f5 |
|
MD5 | e6895690d5fb72ac3a27aed87d6e4fd0 |
|
BLAKE2b-256 | 2c867613ebc818b3640273b161ef849bf36a041cd6bac9137ae0be4480f651d6 |