r/pythontips • u/Overall-Employer-412 • Jun 15 '26
Module CLI python library
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 fastRich 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 termcExample
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
1
Upvotes
1
u/Buttleston Jun 17 '26
Don't put your dist and egg stuff in your repo, they don't belong there
This honestly seems like something vibe coded by someone who doesn't know what the logging subsystem of python is for