github

Mckinsey666 / bullet

  • среда, 27 февраля 2019 г. в 00:16:57
https://github.com/Mckinsey666/bullet

Python
🚅 Beautiful Python prompts made simple.



bullet : Beautiful Python Prompts Made Simple



🎨 Customize prompts in your Python CLI tool. Extensive support for formatting, colors, background colors, styling, and etc.


Usage

from bullet import Bullet, Check, YesNo # and etc...

cli = Bullet(prompt = "...") # Setup styles
result = cli.launch() # Launch it on your terminal!

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

Setting up bullet

From PyPI

$ pip install bullet

Build from Source

$ git clone https://github.com/Mckinsey666/bullet.git
$ pip install .

Documentation

📖 See Documentation.

Contributing

🎉 Directly send PRs! I'd also love to see your color schemes, and they can possibly be added to the default style library!