simple and pretty tool for selecting items by keyboard in terminal
Project description
selection by gmanka
simple and pretty tool for selecting items by keyboard in terminal
from selection import Selection
yes_or_no = Selection(
items = [
'yes',
'no',
]
)
answer = yes_or_no.choose()
print(answer)
selection also support rich styles
yes_or_no = Selection(
items = [
'yes',
'no',
],
styles = [
'green',
'red'
]
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
easyselect-22.0.0.tar.gz
(1.6 kB
view details)
Built Distribution
File details
Details for the file easyselect-22.0.0.tar.gz
.
File metadata
- Download URL: easyselect-22.0.0.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afff87df1fd32691c8e6fa45148d4faa02f048d571138e2ce53202903bebee51 |
|
MD5 | 7622991d952ab71890254196e46b5bfd |
|
BLAKE2b-256 | 97950b35aa78da93253a1fcf0cfa78e640fc70c1f1649babca374799bd93d0bf |
File details
Details for the file easyselect-22.0.0-py3-none-any.whl
.
File metadata
- Download URL: easyselect-22.0.0-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86c51e7130bdb6510bf394ea134448668f279a24321548cfa8472ae9f49ba1f2 |
|
MD5 | c040e10bf9c1aa8fa2ab154ae9507a3d |
|
BLAKE2b-256 | 01d117468dfb16ba4bda2befaee1eaea8d8c04075c07fcf6b6a7be176e7fb517 |