Skip to main content

cli_select

A package that allows MCQ select in terminal/CLI

Installation

pip install cli_select

Quickstart

use Up and Down arrow keys to select your option use Enter key to confirm your selection

from cli_select import select

selected = select(
    "Which is your favourite fruit?", 
    ["apple", "orange", "pear", "pineaple", "durian"],
    color="green",
)

print(f"you selected {selected}")

# Select favourite fruit (Up/Down to navigate, Enter to select):

# => apple
# orange
# pear
# pineaple
# durian

Release files for cli-select 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cli-select 0.0.4
File Size Uploaded
cli_select-0.0.4.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cli-select 0.0.4
File Interpreter ABI Platform
cli_select-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 6.4 kB

Release files / cli_select-0.0.4.tar.gz

Download URL cli_select-0.0.4.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8ad782a82c07ea284873810bf55d73c21d3c761aa89067ca3c06390cac004449
BLAKE2b-256 checksum
How to use checksums
425ab3a702110eac387041eada62c34d015e3a56be080bebf5760e46ef2158a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.3

Release files / cli_select-0.0.4-py3-none-any.whl

Download URL cli_select-0.0.4-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39bce1e7a35520026f1290f3897409aae853700e6c88164fccad880585549768
BLAKE2b-256 checksum
How to use checksums
5634caece61ba072389a29046fc67018deeceaed04a55c23f575d35e19791a73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page