https://github.com/bchao1/bullet
🚅 Interactive prompts made simple. Build a prompt like stacking blocks.
https://github.com/bchao1/bullet
cli colors command-line-tool customization formatting interactive prompts python terminal utility
Last synced: 9 months ago
JSON representation
🚅 Interactive prompts made simple. Build a prompt like stacking blocks.
- Host: GitHub
- URL: https://github.com/bchao1/bullet
- Owner: bchao1
- License: mit
- Created: 2019-02-21T15:46:29.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-18T20:35:03.000Z (over 2 years ago)
- Last Synced: 2025-04-13T06:01:48.297Z (10 months ago)
- Topics: cli, colors, command-line-tool, customization, formatting, interactive, prompts, python, terminal, utility
- Language: Python
- Homepage: https://pypi.org/project/bullet/
- Size: 1.28 MB
- Stars: 3,594
- Watchers: 34
- Forks: 116
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesomeLibrary - bullet - 🚅 Interactive prompts made simple. Build a prompt like stacking blocks. (语言资源库 / python)
- awesome-python-fa - bullet - ساخت منوهای انتخابی تعاملی با طراحی ساده. (📚 فهرست / کتابخانه هاي TUI)
- awesome-starts - bchao1/bullet - 🚅 Interactive prompts made simple. Build a prompt like stacking blocks. (Python)
- my-awesome-starred - bchao1/bullet - 🚅 Interactive prompts made simple. Build a prompt like stacking blocks. (Python)
README
# `bullet` : Beautiful Python Prompts Made Simple
***
> 🎨 Customize prompts in your Python CLI tool. Extensive support for formatting, colors, background colors, styling, and etc. Also supports emojis!
***
> See the sample code for the above demo in `./examples/prompt.py`.
## ✨News: `bullet==2.2.0` is up (Finally!)
You can now download the newest version of bullet on PyPI!
## Bullet-lists and checkboxes
> 🎨 Robust support for user-defined styles.
./examples/classic.py
./examples/colorful.py
./examples/star.py
Vanilla checkbox
Checkbox + styles.Exam
Bullet + styles.Greece
Bullet + styles.Ocean
Bullet + styles.Lime
Bullet + styles.Christmas
## ScrollBar
> See the sample code for the above demo in `./examples/scrollbar.py`.
## Other input prompts
> ⛔ Passwords

> 👍 Yes/No Questions

> 🔢 Numbers

## Setting up `bullet`
> From PyPI
```shell
$ pip install bullet
```
> Build from Source
```shell
$ git clone https://github.com/bchao1/bullet.git
$ cd bullet
$ pip install .
```
## Documentation
📖 See Documentation.
> Currently supported prompts: `Bullet`, `Check`, `Input`, `Numbers`, `Password`, `YesNo`, `VerticalPrompt`, `SlidePrompt`, `Scrollbar`.
## Contributing
🎉 Directly send PRs! Make sure development is done and tested in `Python >= 3.6`.
## Todo
- Windows Support
- Search bar with autocomplete