Skip to content

feat(topology): Map modern Python projects - #162

Open
reneleonhardt wants to merge 1 commit into
JordanCoin:mainfrom
reneleonhardt:feat/python-project-topology
Open

feat(topology): Map modern Python projects#162
reneleonhardt wants to merge 1 commit into
JordanCoin:mainfrom
reneleonhardt:feat/python-project-topology

Conversation

@reneleonhardt

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds Python project topology discovery for common repository manifests:

  • Reads pyproject.toml without executing Python code.
  • Maps declared Python project/module roots into the typed topology graph.
  • Handles workspace members and package layouts conservatively.

Why it matters

Python repositories often describe project boundaries in packaging metadata rather than directory layout. The topology graph should reflect those boundaries without running project code.

CLI / MCP surface

No new commands, arguments, or MCP tools. Existing topology output includes Python project and module nodes when manifests are present.

Security

pyproject.toml is read as data; no Python code is executed.

Verification

  • codemap . and codemap --deps .

The repository linter reports the existing baseline findings and one non-functional simplification suggestion in this branch.

Co-Authored-By: GPT-5.6 Sol codex@openai.com

Co-Authored-By: GPT-5.6 Sol <codex@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant