/bullet

🚅 Interactive prompts made simple. Build a prompt like stacking blocks.

Primary LanguagePythonMIT LicenseMIT

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.

✨ New Feature: ScrollBar

See the sample code for the above demo in ./examples/scrollbar.py.

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

Other input prompts

⛔ Passwords

👍 Yes/No Questions

🔢 Numbers

Setting up bullet

From PyPI

$ pip install bullet

Build from Source

$ git clone https://github.com/Mckinsey666/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! I'd also love to see your color schemes, and they can possibly be added to the default style library!

Todo

  • Windows Support
  • Search bar with autocomplete