Python dependency insight
ProprietaryFind Python dependencies, including transitive dependencies, matching a package name pattern. Results include the resolved version, scope, and whether the dependency is direct or transitive.
org. openrewrite. python. migrate. DependencyInsightRequired
A glob pattern to match against package names. Package names are normalized per PEP 503 before matching (lowercased, runs of dashes/underscores/dots collapsed to a single dash).
Optional
Filter dependencies by scope. Common scopes: main, build, or the name of an optional-dependency extra or dependency-group (e.g., dev, test). When omitted, all scopes are searched.
mod run . --recipe= org. openrewrite. python. migrate. DependencyInsight \
-P packagePattern= requestsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.