poetry-udeps
is inspired by cargo-udeps
and is a tool for finding unused dependencies in a Poetry-based Python project.
That is, finding unused dependencies in pyproject.toml
.
This tool expects that you run it where you have poetry
on your $PATH
.
cargo install poetry-udeps --locked
This is meant to be run in the root of your Poetry project.
``` Find unused dependencies in pyproject.toml
Usage: poetry-udeps [OPTIONS]
Options: -v, --verbose... More output per occurrence -q, --quiet... Less output per occurrence -e, --virtualenv Whether to look for dependency usage in the poetry virtualenv -d, --dev Whether to look for unused dependencies from dev-dependencies -h, --help Print help (see more with '--help') -V, --version Print version ```
TODO
This is a list of cases where unused dependencies were found using poetry-udeps
. You are welcome to expand it:
This tool is distributed under the terms of the Blue Oak license. Any contributions are licensed under the same license, and acknowledge via the Developer Certificate of Origin.
See LICENSE for details.
nbconvert
. Lower priority.