Awesome Open Source
Awesome Open Source

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

$ pip install bullet

Build from Source

$ 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

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
python (54,525)Β 
cli (1,806)Β 
command-line-tool (298)Β 
interactive (111)Β 
colors (89)Β 
customization (54)Β 
formatting (35)Β