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!
<img src="https://github.com/bchao1/bullet/raw/main/assets/gifs/demo.gif" width=800>
See the sample code for the above demo in
./examples/prompt.py.
bullet==2.2.0 is up (Finally!)You can now download the newest version of bullet on PyPI!
🎨 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 |
![]() |
![]() |
![]() |
<img src="https://github.com/bchao1/bullet/raw/main/assets/gifs/scrollbar.gif" width=400>
See the sample code for the above demo in
./examples/scrollbar.py.
⛔ Passwords
👍 Yes/No Questions
🔢 Numbers
bulletFrom PyPI
$ pip install bullet
Build from Source
$ git clone https://github.com/bchao1/bullet.git
$ cd bullet
$ pip install .
📖 See Documentation.
Currently supported prompts:
Bullet,Check,Input,Numbers,Password,YesNo,VerticalPrompt,SlidePrompt,Scrollbar.
🎉 Directly send PRs! Make sure development is done and tested in Python >= 3.6.
$ claude mcp add bullet \
-- python -m otcore.mcp_server <graph>