getkey
A Python module to get the pressed key
Installation
From PyPI
pip3 install pygetkey
From GitHub
pip3 install git+https://github.com/donno2048/getkey
Usage
import getkey
getkey.get_key() # Wait for a key to be pressed and return it
getkey.get_last_key() # Don't wait for a key to be pressed and return the last pressed key (mainly for "async" loops)
Metadata
Release files for pygetkey 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pygetkey-1.0.0.tar.gz | 2.8 kB | Details |
Release files / pygetkey-1.0.0.tar.gz
| Download URL | pygetkey-1.0.0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
725ff535d937c553527e7662f9e1d3cd63233d53de5ff22b5dd746a96db89feb
|
|
BLAKE2b-256 checksum How to use checksums |
a0df8aabbcb603e089911a4b7d145b3a1ada94a8a6b3402fa0b0fa293bdcb801
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|