keyengine
Introduction
Keyengine is a small package made for simple Console interfaces. Keyengine can be used for:
- Interactive menus
- Printing and waiting for input simultaneously
- Checking what letter is currently pressed, for easier creation of your own systems
Installation
Python >=3.13
If you have Python 3.13 or newer, please just run pip install -U keyengine
Python >=3.10
If you have Python 3.10 or newer, please just run pip install -U deprecated keyengine
Usage
menus
menu(choices: list[str], index: bool = True)
Takes a list of possible choices and lets the user pick one using the arrow and ENTER keys. Returns the index of the chosen item in the list.
│
├─ choices: A list of possible choices
├─ index: Whether to display an index (i + 1)
console
Console()
A good way to display text while also waiting for input simultaneously. Methods are self-explanatory.
Metadata
Release files for keyengine 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| keyengine-1.0.1.tar.gz | 5.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| keyengine-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.5 kB
Release files / keyengine-1.0.1.tar.gz
| Download URL | keyengine-1.0.1.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be131d859e56197d33e34998aadbb6b0ba76e0cef397ca930dc15d27973c6458
|
|
BLAKE2b-256 checksum How to use checksums |
12df450e66d50c9e69c2b61a80a633ac2051b8737f64d7c12015d7899d4312c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.13.3 Windows/11
|
Release files / keyengine-1.0.1-py3-none-any.whl
| Download URL | keyengine-1.0.1-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f619fbe8eae399a6f13a313d07ee48750091421072dd2c1a6c58e7fabb3beab4
|
|
BLAKE2b-256 checksum How to use checksums |
6d0706971b8f3a3706c6efe30adff1ac5626356a000b5d300b9ca691432ea32d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.13.3 Windows/11
|