The python key stroke module to capture a key stroke and do something useful (e.g. terminating an application). It works an all platforms
Project description
README - Welcome to key_stroke
key_stroke is the python key stroke module for all platforms. It can be used to easily interrupt a running loop by pressing a user defined key or key combination. It comes with a simple and intuitive API and can be used on Linux, Mac as well Windows Systems.
Installation
For a simple and painless installation of the key stroke module in your system, please refer to the documentation. You will find what you are looking for under the heading "Installation of the key_stroke module".
Documentation
For API documentation, usage and examples see files in the "sphinx" directory. The ".rst" files can be read in any text editor or being converted to HTML or PDF using Sphinx. An HTML version is online at https://chriesibaum.github.io/key_stroke/
Module Requirements
- xxx (will be installed during the pip install process)
Coding hints
- Nix.
How to build the Package
-
To build the packet, simply run
make buildand enjoy a café. -
To give the documentation a new shine, simply run
make doc.
Build Requirements
For details see: https://packaging.python.org/en/latest/tutorials/packaging-projects/
- python3
- and a ton of packages specified in requirements.txt to install them run: pip install -r requirements.txt -U
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 key_stroke-1.3.1.tar.gz.
File metadata
- Download URL: key_stroke-1.3.1.tar.gz
- Upload date:
- Size: 7.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8986ed1edb64fc6c601657e1e649957946315b93948b4009b7946b31ce08aa32
|
|
| MD5 |
28586957db0b21ff3e9fcfed2ef115c5
|
|
| BLAKE2b-256 |
46c6961aa914c015c328939ab7e46cc57d651c40a1b3597db950a7287db8be30
|
File details
Details for the file key_stroke-1.3.1-py3-none-any.whl.
File metadata
- Download URL: key_stroke-1.3.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbab78ace940b6e29fc036955bb0552951cd5c180ee71637906c98091da6cecd
|
|
| MD5 |
a41d2c9de6205e4946dde7682228695d
|
|
| BLAKE2b-256 |
d9641f449ee8f1f8193c302402d4aba574ccfd4410eb90854509bf4aa97865b9
|