Module dependencies

N

Nicolas Fleury

Hi everyone,
I was wondering, it there any common application to show direct and
indirect dependencies of a module? Something with html output like pydoc?
Thx and Regards,
Nicolas
 
L

Lee Harr

Hi everyone,
I was wondering, it there any common application to show direct and
indirect dependencies of a module? Something with html output like pydoc?
Thx and Regards,
Nicolas


I suppose egrep will do an ok job for direct dependencies ...

egrep "^import" foo.py
 
B

Bob Ippolito

I suppose egrep will do an ok job for direct dependencies ...

egrep "^import" foo.py

There's also the modulefinder module, which scans bytecodes for import
statements, but I don't believe it has any sort of nice html output.

-bob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,184
Messages
2,570,973
Members
47,529
Latest member
JaclynShum

Latest Threads

Top