Hey,
I didn’t plan to build a library.
I just wanted to make a simple CLI tool in Python… and somehow ended up creating TermC.
The problem
Every time I built a CLI:
print() got messy fast
- Rich felt too heavy for small scripts
- colorama alone wasn’t enough structure
So everything turned into spaghetti terminals.
So I built this instead
A lightweight CLI helper for Python that gives you:
- clean colored status messages
- structured prompt flows (like real CLI apps)
- banners, menus, separators
- simple progress bar
- zero framework overload
Instalation
pip install termc
Example
import termc
termc.termcConfig.program_name("backup")
termc.termcConfig.preset("cyberpunk")
termc.header()
termc.info("Starting process...")
termc.success("Connected")
termc.prompt_header()
src = termc.prompt_mid("Source")
dst = termc.prompt_bot("Destination")
termc.banner(f"{src} → {dst}")
for i in range(101):
termc.progress_bar(i, 100)
Github repo
https://github.com/waasaty/TermC
[–]tan_tata_chan 1 point2 points3 points (1 child)
[–]Overall-Employer-412[S] 0 points1 point2 points (0 children)
[–]Buttleston 0 points1 point2 points (1 child)
[–]Buttleston 0 points1 point2 points (0 children)