bchao1/bullet

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

Python

3,614

140 commits

updated Jul 18, 2023

See the code

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 checkboxCheckbox + styles.ExamBullet + styles.Greece
Bullet + styles.OceanBullet + styles.LimeBullet + 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
cli
colors
command-line-tool
customization
formatting
interactive
prompts
python
terminal
utility

bchao1/bullet

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

Python

3,614

140 commits

updated Jul 18, 2023

See the code

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 checkboxCheckbox + styles.ExamBullet + styles.Greece
Bullet + styles.OceanBullet + styles.LimeBullet + 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
cli
colors
command-line-tool
customization
formatting
interactive
prompts
python
terminal
utility

Significant stargazers

(top 24 of 26)

John Hagen

247 followers · starred Jun 2021

Isotr0py

352 followers · starred Jun 2023

Filip Skokan

1,730 followers · starred Mar 2019

Gram

365 followers · starred Feb 2019