r/Python • u/AutoModerator • 28d ago
Showcase Showcase Thread
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
22
Upvotes
r/Python • u/AutoModerator • 28d ago
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
1
u/realrazdev 22d ago edited 22d ago
I've been working on a small Python CLI library and I'm not sure where to take it next
I've been working on this project for a while. The idea is to make CLI output more consistent and easier to handle without adding a lot of dependencies.
For example:
```python from raztint import paint
print(paint("Build completed", intent="success")) print(paint("Something went wrong", intent="error")) print(paint("Starting server...", intent="info")) ```
It also supports colors, styles, icons with fallbacks, terminal detection, and optional secret redaction.
I'm using it in one of my own projects, RazTodo, so I've been able to use it in a real project as well.
At this point, I don't want to keep adding features just because I can. I'd rather hear from people who actually build Python CLIs:
Is something like this useful to you?
What CLI output problems do you run into?
Is there anything you'd want a small library like this to handle?
Would you actually consider adding something like this as a dependency?
I'm more interested in real use cases and pain points than feature requests. I want to figure out if there's actually a useful problem here before I keep building on it.
If you're curious, here's the project:
https://github.com/razbuild/raztint
If you want to try it:
bash pip install raztint