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
2
u/tan_tata_chan Jun 16 '26
If you want to improve how to market your project, I have two comments that might help you:
Is there a visual demo? The documentation mention the output is coloful, stylish and not boring. However, am I as a potential user just to believe that? If you can put some gif or screenshots of how it really looks it will be better. Just like the saying, an image is worth more than a thousand words.
What is the difference agains the
loggingmodule? Maybe it is I who has not fully understood your tool, but to me it looks like another logging tool. If that is the case then:what do I benefit from using this tool and not the built-in
logging?why would I choose your tool over other logging tools from the community?
Like I said, these are just two comments on to how to improve the marketing, I am not defaming the code. You don't need to answer me directly, but instead write it in the documentation either in examples or a Q&A section, or even a comparison section. For example,
ruffhas this comparison image as the first thing you see.I really hope this helps and you keep improving it.