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 github.com/gmankab/easyselect
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.2.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for easyselect-22.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8361b1670394af7a7dee72129a44de86dc522ffb322a6256224b4630d0c6e8b0 |
|
MD5 | 74f28307146ba61bbfbfd1e9e036bb57 |
|
BLAKE2b-256 | 498fb6ada1b8280544d25937544f2df014100e43f2036a6157bb9f52fac7b894 |