PyMOTW: pyclbr
Originally posted
· 1 min read
pyclbr can scan Python source to find classes and stand-alone functions. The information about class, method, and function names and line numbers is gathered using tokenize without importing the code.