Build a command line setup wizard that asks a series of styled questions
Let a user pick multiple options from a checklist in the terminal
Collect a password in the terminal without showing typed characters
Apply a built-in color theme like Ocean or Christmas to your CLI prompts
| bchao1/bullet | junxiaosong/alphazero_gomoku | markfzp/act-plus-plus | |
|---|---|---|---|
| Stars | 3,616 | 3,616 | 3,615 |
| Language | Python | Python | Python |
| Setup difficulty | easy | easy | hard |
| Complexity | 2/5 | 3/5 | 5/5 |
| Audience | developer | researcher | researcher |
Figures from each repo's GitHub metadata at analysis time.
Only supports Linux today, Windows support is planned but not yet available.
Bullet is a Python library for building interactive prompts in command-line tools. Instead of a plain text input box, you can present users with a scrollable list to pick one option, a set of checkboxes to pick multiple options, a password field that hides typed characters, a yes/no toggle, or a number input, all styled with colors and custom visual themes. The library lets you stack multiple prompts together in a sequence, so you can ask a series of questions one after another in a single flow. Each prompt type is a Python class, and you compose them by creating instances and combining them into a list. When you launch the prompts, the user navigates with arrow keys and confirms with Enter, and the answers come back as a Python dictionary you can use in the rest of your script. Styling is handled through built-in style presets with names like Ocean, Lime, Christmas, and Greece, each setting a color palette for the prompt background and selected item highlighting. You can also define custom styles with any terminal colors you want, and the library supports emoji characters in prompt text. Installation is a single pip command. The library is available on PyPI and requires Python 3.6 or newer. Currently it only supports Linux, and Windows support is listed as a planned future addition. The repository includes a documentation file and a folder of example scripts covering each prompt type. Supported prompt types include bullet-point single selection, checkbox multi-selection, free text input, number input, password input, yes/no questions, and a scrollbar for long lists.
A Python library for building colorful, interactive command line prompts like scrollable lists, checkboxes, password fields, and yes or no toggles.
Mainly Python. The stack also includes Python.
No license terms are stated in the explanation provided.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.