Skip to main content

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


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.1.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

easyselect-22.0.1-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file easyselect-22.0.1.tar.gz.

File metadata

  • Download URL: easyselect-22.0.1.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

Hashes for easyselect-22.0.1.tar.gz
Algorithm Hash digest
SHA256 93511c087da4df027b414475d058e117206f1f9865b7717a8413fd7b981e4e9f
MD5 2cc30a11491592b41af3363eed326142
BLAKE2b-256 65a2b282df92aac0917b7322ae4cf6e50003f7ff1e8f1618b3676c28ed943223

See more details on using hashes here.

File details

Details for the file easyselect-22.0.1-py3-none-any.whl.

File metadata

  • Download URL: easyselect-22.0.1-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

Hashes for easyselect-22.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b5c4ca45a2c0398e3ac5fa38665bc45d86b62fdaabf7f71af3b5edd4c77d0820
MD5 68809957561d16161814ee7b439fb8a9
BLAKE2b-256 b10a4f1ec1d678959351aa77cddc3382b84c228c7a021fb6a5008a7290f53e32

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page