Title: Feature Request: Feature Parity between Java and Python Analysis · Issue #137 · codellm-devkit/python-sdk · GitHub
Open Graph Title: Feature Request: Feature Parity between Java and Python Analysis · Issue #137 · codellm-devkit/python-sdk
X Title: Feature Request: Feature Parity between Java and Python Analysis · Issue #137 · codellm-devkit/python-sdk
Description: Is your feature request related to a problem? Please describe. Currently, CLDK's support for analyzing Python source code via codeanalyzer-python is limited in comparison to the Java capabilities available in codeanalyzer-java. While the...
Open Graph Description: Is your feature request related to a problem? Please describe. Currently, CLDK's support for analyzing Python source code via codeanalyzer-python is limited in comparison to the Java capabilities a...
X Description: Is your feature request related to a problem? Please describe. Currently, CLDK's support for analyzing Python source code via codeanalyzer-python is limited in comparison to the Java capabiliti...
Opengraph URL: https://github.com/codellm-devkit/python-sdk/issues/137
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature Request: Feature Parity between Java and Python Analysis","articleBody":"**Is your feature request related to a problem? Please describe.**\n\nCurrently, CLDK's support for analyzing Python source code via `codeanalyzer-python` is limited in comparison to the Java capabilities available in `codeanalyzer-java`. While the Java backend supports deep semantic extraction including symbol tables, call graphs, control/data flow graphs, CRUD operation detection, and framework-specific analyses, the Python counterpart lacks many of these features. This asymmetry makes it hard to build language-agnostic tooling and limits reuse of the CLDK analysis stack for Python-heavy projects.\n\n**Describe the solution you'd like**\n\nI’d like CLDK to offer parity between its Java and Python analysis capabilities, ideally exposing the same abstraction surfaces. This includes:\n\n- A fully-featured `PyApplication` schema with semantic depth matching `JApplication`\n- Robust symbol resolution using `jedi`, LSP, and other tools to handle module/function/class-level scoping, type inference, imports, and dynamic features\n- Generation of call graphs (direct + transitive), with support for async and dynamic callsites\n- Control and data flow graphs at the function and module level\n- Basic interprocedural analysis across modules and packages\n- CRUD operation detection and annotation in frameworks like Django, SQLAlchemy, FastAPI, etc.\n- Support for incremental/eager analysis and caching like the Java analyzer\n- Compatibility with existing CLDK pipelines like test generation, transformation, and migration agents\n\n**Describe alternatives you've considered**\n\n- Wrapping third-party static analysis tools like Pyright, pyre, or mypy — but these often lack consistent and unified schema output\n- Rewriting analyses from scratch for Python — not ideal due to duplication and maintenance burden\n- Falling back on AST-based pattern matching without semantic resolution — brittle and low precision\n\n**Additional context**\n\nReference implementations and design can be found in:\n- https://github.com/codellm-devkit/codeanalyzer-java\n- https://github.com/codellm-devkit/codeanalyzer-python\n\nThe goal is to bring `codeanalyzer-python` up to parity with `codeanalyzer-java` in CLDK’s analysis infrastructure. This will enable unified workflows across Java and Python ecosystems and allow tool developers to target a shared intermediate representation for static analysis tasks.","author":{"url":"https://github.com/rahlk","@type":"Person","name":"rahlk"},"datePublished":"2025-07-22T14:04:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/137/python-sdk/issues/137"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fe8134b4-7c8b-a455-93fb-5cbdb984835b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B396:3D291C:13D053C:1B149F6:698DAF23 |
| html-safe-nonce | 26ded0477ac0ee2a1ee647e6165c3a446fbb4046cc73f4b01c2307ade2cda466 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzk2OjNEMjkxQzoxM0QwNTNDOjFCMTQ5RjY6Njk4REFGMjMiLCJ2aXNpdG9yX2lkIjoiNjAxNjg0NTYxOTc0OTgyNjMzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bb17a50854ef21523bee5af9aea00684d4975a3910909e308b6eab2adc9ed1aa |
| hovercard-subject-tag | issue:3252836343 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/codellm-devkit/python-sdk/137/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7606fbbd758a3d4170863d3eee97aa9058b6ab91d596ab1c38c22400cb52411e/codellm-devkit/python-sdk/issues/137 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7606fbbd758a3d4170863d3eee97aa9058b6ab91d596ab1c38c22400cb52411e/codellm-devkit/python-sdk/issues/137 |
| og:image:alt | Is your feature request related to a problem? Please describe. Currently, CLDK's support for analyzing Python source code via codeanalyzer-python is limited in comparison to the Java capabilities a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rahlk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8c7947c0c592efeab6162b9909ad11fa43bff8b0cb5ff43273dc25e41979d43e |
| turbo-cache-control | no-preview |
| go-import | github.com/codellm-devkit/python-sdk git https://github.com/codellm-devkit/python-sdk.git |
| octolytics-dimension-user_id | 197800760 |
| octolytics-dimension-user_login | codellm-devkit |
| octolytics-dimension-repository_id | 826048982 |
| octolytics-dimension-repository_nwo | codellm-devkit/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 826048982 |
| octolytics-dimension-repository_network_root_nwo | codellm-devkit/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b22a9fbf4dea601ec149a9e5362e0558df79b505 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width