⌨️ Terminal Key Monitor 📟
Show pressed keys in the terminal. Useful e.g. when recording asciinema screencasts.
termkeymonitor connects directly to a local input device using evdev.
📥 Installation
# from PyPI
pip install termkeymonitor
# directly from GitLab
pip install git+https://gitlab.com/nobodyinperson/termkeymonitor.git
❓ Usage
# use any of the below commands to invoke
termkeymonitor
python -m termkeymonitor
python3 -m termkeymonitor
🎥 Screencast
⚠️ Caveats
- no Windows and MacOS support (Apparently
evdevonly works on Linux... 😔, might need to use some other backend likepynputin the future) - needs a local keyboard connected so doesn't work as expected on remote machines (e.g. via SSH)
- Make sure you have permissions to access the
/dev/input/event*files (this normally means you need to add yourself to theinputgroup)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
termkeymonitor-1.4.5.tar.gz
(6.3 kB
view details)
File details
Details for the file termkeymonitor-1.4.5.tar.gz.
File metadata
- Download URL: termkeymonitor-1.4.5.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8db174890adb5d5036e5f2ca4cb3b1c74782803d7e776e7230dea89977f054f
|
|
| MD5 |
7d31d1f041944a43824184986196dab6
|
|
| BLAKE2b-256 |
05e30a331f642ce7d5f0b3929ddb2744072c1f5ca43b781654b7ac80fec65a83
|