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 details)
Built Distribution
File details
Details for the file easyselect-22.0.2.tar.gz
.
File metadata
- Download URL: easyselect-22.0.2.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 | 5f3505240f318d8cf2c8985a512fab925af49961824de27bb1e9ea41be3c8d62 |
|
MD5 | 3e36bd8cde33a3a169983911be510ce5 |
|
BLAKE2b-256 | ca8241ffda169cdd2973c8c73a9784cc83160c73632c22195af1a426e2548ba4 |
File details
Details for the file easyselect-22.0.2-py3-none-any.whl
.
File metadata
- Download URL: easyselect-22.0.2-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 | 8361b1670394af7a7dee72129a44de86dc522ffb322a6256224b4630d0c6e8b0 |
|
MD5 | 74f28307146ba61bbfbfd1e9e036bb57 |
|
BLAKE2b-256 | 498fb6ada1b8280544d25937544f2df014100e43f2036a6157bb9f52fac7b894 |