Python dependency insight

MSAL

Find direct and transitive Python dependencies matching a package name pattern. Results include dependencies that either directly match or transitively include a matching dependency.

org.openrewrite.python.search.DependencyInsight

Required

A glob pattern to match Python package names (PEP 503 normalized). Use * as a wildcard.

Optional

Match dependencies in the specified scope. All scopes are searched by default.

onlyDirectBoolean

If enabled, transitive dependencies will not be considered. All dependencies are searched by default.

mod run . --recipe=org.openrewrite.python.search.DependencyInsight \ -P packageNamePattern='requests*'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.