53

GitHub - Mckinsey666/bullet: ? Beautiful Python prompts made simple.

 5 years ago
source link: https://github.com/Mckinsey666/bullet
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

bullet : Beautiful Python Prompts Made Simple

list.png
68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706c6174666f726d2d6c696e75782d6c69676874677265792e737667 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f707974686f6e2d2533453d5f332e362d677265656e2e737667 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5052732d77656c636f6d652d627269676874677265656e2e737667


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


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

cli = Bullet(...) # Setup styles
result = cli.launch(prompt) # Launch it on your terminal!
./examples/classic.py ./examples/colorful.py ./examples/star.py classic.gif colorful.gif star.gif Vanilla checkbox Checkbox + styles.Exam Bullet + styles.Greece checkbox.gif exam.gif greece.gif Bullet + styles.Ocean Bullet + styles.Lime Bullet + styles.Christmas ocean.gif lime.gif christmas.gif

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!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK