Skip to main content

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


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)

Uploaded Source

Built Distribution

PyHotKey-1.0-py2.py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page