MCPcopy
hub / github.com/bchao1/bullet

github.com/bchao1/bullet @main sqlite

repository ↗ · DeepWiki ↗
85 symbols 249 edges 19 files 19 documented · 22%
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!


<img src="https://github.com/bchao1/bullet/raw/main/assets/gifs/demo.gif" width=800>

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

<img src="https://github.com/bchao1/bullet/raw/main/assets/gifs/scrollbar.gif" width=400>

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

Core symbols most depended-on inside this repo

launch
called by 11
bullet/client.py
printRow
called by 7
bullet/client.py
forceWrite
called by 7
bullet/utils.py
printRow
called by 6
bullet/client.py
input
called by 5
bullet/client.py
printBullet
called by 5
bullet/client.py
mygetc
called by 4
bullet/utils.py
moveCursor
called by 3
bullet/client.py

Shape

Method 53
Function 19
Class 13

Languages

Python100%

Modules by API surface

bullet/client.py58 symbols
bullet/utils.py12 symbols
bullet/keyhandler.py6 symbols
examples/check.py4 symbols
bullet/cursor.py4 symbols
bullet/colors.py1 symbols

For agents

$ claude mcp add bullet \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact