Draw module internal dependencies
See original GitHub issueHi,
my question somewhat relates to issue #25.
First, I encounter the same issue as outlined in that ticket. It got closed without addressing the issue unfortunately. The workaround mentioned there correctly works in the way that the python files become part of the output.
But the workaround does not work in case a modules file imports another file from the same module.
Given
mydir
| `-- __init__.py
| `-- controller.py
| `-- database.py
| `-- exceptions.py
| `-- mainclass.py
`-- models.py
and mydir.controller
imports and uses mydir.database
, then this dependency is not available in the graph.
Is there any way to make this dependency visible? I would like to use that information as it would ease refactoring / organizing code as it would greatly make internal oddities visible.
Kind regards alex
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Module dependency diagrams - IntelliJ IDEA - JetBrains
You can view, analyze, and manage UML diagrams for the following modules: ... IntelliJ IDEA displays a module and its dependencies. the diagram...
Read more >Python dependencies inside a package - Stack Overflow
The problem I have with using is that they show all the dependencies of all the modules, while I really would like to...
Read more >Common modularization patterns - Android Developers
This page gives an overview of some general rules and common patterns that you can employ when developing multi module Android apps.
Read more >pydeps — pydeps 1.11.0 documentation
Python module dependency visualization. ... --cluster, draw external dependencies as separate clusters ... draw target module as a cluster.
Read more >Internal and external dependencies of module. - ResearchGate
Download scientific diagram | Internal and external dependencies of module. from publication: Identifying Component Modules | A computer-based system for ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ah, thanks for the quick reply! You understood me fully correctly. I see that this works with relative imports. The project I was testing with, uses absolute imports, even for files in the same module. I see if I can change that. Still, those absolute imports are not visible.
Hi @intiamaru and thanks for your interest in pydeps. Since I can’t reproduce this problem, it would be helpful with a complete description of how to reproduce it…