def iter_central_venvs(project: Project) -> t.Iterable[tuple[str, Path]]:
    """Return an iterable of all managed venvs and their paths."""
    venv_parent = Path(project.config["venv.location"])
    for venv in venv_parent.glob("*"):
        ident = venv.name
        yield ident, venv
Return an iterable of all managed venvs and their paths.
src/pdm/cli/commands/venv/utils.py