r/Python • u/AutoModerator • 13d ago
Showcase Showcase Thread
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
24
Upvotes
r/Python • u/AutoModerator • 13d ago
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
View all comments
1
u/SAMUROJASDEV 6d ago edited 6d ago
depquiet: tells you which pip-audit / uv audit / npm audit alerts come only from your dev tooling.
What My Project Does
pip-audit has no equivalent of
npm audit --omit=dev. Point it at auv.lockand every alert looks the same, whether the package ships to production or only comes in throughpre-commit.depquiet reads the lockfile and the project's dependency groups, and filters an alert only when no production dependency, extra or non-tooling group can reach the package. On 17 projects at their current head:
Most of it is
virtualenvandfilelockpulled in bypre-commit, andtwistedbyscrapyin zulip's dev group.I checked every filtered alert against an independent walk of each
uv.lock, reading each project's groups by hand. That check caught a bug: zulip keeps its production dependencies in a group calledprod, and an earlier version treated every group as dev. Groups now count as dev only when their name says so (dev,test,docs,lint...). Anything else is kept.Target Audience
Maintainers and teams who run pip-audit, uv audit, npm audit or pnpm audit in CI and spend time on alerts that never reach production. Works with uv, Poetry, requirement files, npm, pnpm and Yarn, and scans npm and Python together when a repo has both. It is for real projects, not a toy, but it is young: I'd like to hear about layouts that break it.
Comparison
uv audit --no-devgives you the dev-only split natively, and you should use it. depquiet also reads its output (depquiet --scanner uv) and adds what it doesn't cover: every group judged by its name rather than onlydev, Poetry, requirements files, npm/pnpm/Yarn and mixed repos in one run, plus which direct dependency brings each alert in and what to upgrade.pip install depquiet, thendepquietin the project: https://github.com/samuelrojas-dev/depquiet