Expand description
§monochange_python
monochange_python discovers Python packages from uv workspaces, Poetry
projects, and standalone pyproject.toml files.
§Why use it?
- discover uv workspaces and standalone Python packages with one adapter
- normalize Python package manifests and dependency edges for the shared planner
- infer lockfile refresh commands for uv and Poetry
§Public entry points
discover_python_packages(root)discovers Python packagesPythonAdapterexposes the shared adapter interface
§Scope
- uv workspace member expansion
pyproject.tomlparsing ([project]and[tool.poetry])- normalized dependency extraction from PEP 621 metadata
- lockfile command inference for uv and Poetry
Structs§
Enums§
Constants§
Functions§
- adapter
- default_
dependency_ fields - Return the manifest fields that usually contain dependency versions.
- default_
dependency_ version_ prefix - default_
lockfile_ commands - discover_
lockfiles - discover_
python_ packages - supported_
versioned_ file_ kind - update_
versioned_ file - update_
versioned_ file_ text - validate_
versioned_ file - Return the default dependency-version prefix for this ecosystem. Validate that a Python versioned file contains a readable version field.
- write_
python_ placeholder_ manifest