Skip to main content

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)

Source distribution for keyengine 1.0.1
File Size Uploaded
keyengine-1.0.1.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for keyengine 1.0.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.1.0

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page