Skip to content

Is there a plan to support dependency graphs for Methods and/or Classes? #187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
noobyogi0010 opened this issue Jun 14, 2023 · 1 comment

Comments

@noobyogi0010
Copy link

Hello,

I really loved this library and have recently integrated it into our app. But I wondered if there's a way to generate a similar dependency graph for a particular method or class in a given file or repo.

Thanks.

@thebjorn
Copy link
Owner

Hi @noobyogi0010 and thank you for your interest in pydeps!

pydeps simply looks at the import-pyc codes to find the next file to process, and depending on what you're asking you need dataflow and/or deeper semantic analysis. I'm confident that byte-code parsing is not the way to go for such a problem (it's very fast, but horribly complex). I agree that it would be a very useful tool to have though ;-)

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

No branches or pull requests

2 participants