simple and pretty tool for selecting items by keyboard in terminal
Project description
easyselect by gmanka
simple and pretty tool for selecting items by keyboard in terminal github.com/gmankab/easyselect
from easyselect import Sel
yes_or_no = Sel(
items = [
'yes',
'no',
]
)
answer = yes_or_no.choose()
print(answer)
selection also support rich styles
yes_or_no = Sel(
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.3.tar.gz
(2.0 kB
view details)
Built Distribution
File details
Details for the file easyselect-22.0.3.tar.gz
.
File metadata
- Download URL: easyselect-22.0.3.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dacde1973f49d63cd438eeea3466eb2034350c1de459ad8fb3c93741865241d |
|
MD5 | c56b607591f6ac2d49ccc09ce3e2b065 |
|
BLAKE2b-256 | 2803f87aae49b1867b36efdb794e96c316a6cedd550e1c4c1433e578063f6adc |
File details
Details for the file easyselect-22.0.3-py3-none-any.whl
.
File metadata
- Download URL: easyselect-22.0.3-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 000c237c1b530c2a4f51722e0177a590411ae6f33b3559597808218bf8471537 |
|
MD5 | 754e3c8ea20bec38524dbde3b7ff59cd |
|
BLAKE2b-256 | b89f4079512f8d518455ffa5fb256a5ac895cd9d02eee41f67982de2151ecb4c |