[go: up one dir, main page]

Skip to content
/ bullet Public

๐Ÿš… Interactive prompts made simple. Build a prompt like stacking blocks.

License

Notifications You must be signed in to change notification settings

bchao1/bullet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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