Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bchao1/bullet
π
Interactive prompts made simple. Build a prompt like stacking blocks.
https://github.com/bchao1/bullet
cli colors command-line-tool customization formatting interactive prompts python terminal utility
Last synced: 3 days ago
JSON representation
π Interactive prompts made simple. Build a prompt like stacking blocks.
- Host: GitHub
- URL: https://github.com/bchao1/bullet
- Owner: bchao1
- License: mit
- Created: 2019-02-21T15:46:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-18T20:35:03.000Z (over 1 year ago)
- Last Synced: 2024-10-29T15:27:16.838Z (3 months ago)
- Topics: cli, colors, command-line-tool, customization, formatting, interactive, prompts, python, terminal, utility
- Language: Python
- Homepage: https://pypi.org/project/bullet/
- Size: 1.28 MB
- Stars: 3,563
- Watchers: 34
- Forks: 114
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- my-awesome-starred - bchao1/bullet - π Interactive prompts made simple. Build a prompt like stacking blocks. (Python)
- awesome-starts - bchao1/bullet - π Interactive prompts made simple. Build a prompt like stacking blocks. (Python)
- awesomeLibrary - bullet - π Interactive prompts made simple. Build a prompt like stacking blocks. (θ―θ¨θ΅ζΊεΊ / python)
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 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
```shell
$ pip install bullet
```
> Build from Source
```shell
$ 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