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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file PyHotKey-1.0.0.tar.gz.

File metadata

  • Download URL: PyHotKey-1.0.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.2

File hashes

Hashes for PyHotKey-1.0.0.tar.gz
Algorithm Hash digest
SHA256 15e2c42d38151eaac67fa015c59d3f6e6d1e1831bb7b97f799f362dcab32d6ff
MD5 714fc24ad30a49d8d1eecda573bada35
BLAKE2b-256 46bffd1a3893df92c355e139cf19ae62f57e2661df08aadfb831884160ac5b9b

See more details on using hashes here.

File details

Details for the file PyHotKey-1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: PyHotKey-1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.2

File hashes

Hashes for PyHotKey-1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 03d40ac5a72a332e51c4f896c06771d869e1981820acdd7cb05922a4033193f5
MD5 e6895690d5fb72ac3a27aed87d6e4fd0
BLAKE2b-256 2c867613ebc818b3640273b161ef849bf36a041cd6bac9137ae0be4480f651d6

See more details on using hashes here.

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