Python inspect Module
This page shows the popular functions and classes defined in the
inspect module.
The items are ordered by their popularity in 40,000 open source Python projects.
If you can not find a good example below, you can try
the search function
to search modules.
-
1. isclass()Used in 1079 projects
-
2. getmembers()Used in 881 projects
-
3. getargspec()Used in 770 projects
-
4. signature()Used in 674 projects
-
5. isfunction()Used in 605 projects
-
6. ismethod()Used in 524 projects
-
7. stack()Used in 511 projects
-
Used in 482 projects
-
9. getfile()Used in 471 projects
-
10. currentframe()Used in 368 projects
-
11. getmodule()Used in 316 projects
-
12. getsourcefile()Used in 279 projects
-
13. getsourcelines()Used in 250 projects
-
14. getsource()Used in 249 projects
-
15. getdoc()Used in 248 projects
-
16. getmro()Used in 240 projects
-
17. ismodule()Used in 202 projects
-
18. getframeinfo()Used in 173 projects
-
19. cleandoc()Used in 143 projects
-
20. getouterframes()Used in 138 projects
-
21. formatargspec()Used in 130 projects
-
22. isroutine()Used in 120 projects
-
Used in 119 projects
-
24. isbuiltin()Used in 106 projects
-
Used in 106 projects
-
26. getcallargs()Used in 102 projects
-
27. isawaitable()Used in 92 projects
-
28. getargvalues()Used in 83 projects
-
29. isgenerator()Used in 73 projects
-
30. isabstract()Used in 58 projects
-
31. iscode()Used in 58 projects
-
Used in 54 projects
-
33. Parameter()Used in 53 projects
-
Used in 53 projects
-
35. Signature()Used in 50 projects
-
36. _empty()Used in 45 projects
-
37. isframe()Used in 45 projects
-
38. getmodulename()Used in 41 projects
-
Used in 37 projects
-
40. iscoroutine()Used in 36 projects
-
41. findsource()Used in 35 projects
-
42. getabsfile()Used in 35 projects
-
43. istraceback()Used in 34 projects
-
44. getblock()Used in 31 projects
-
45. unwrap()Used in 31 projects
-
46. getinnerframes()Used in 30 projects
-
Used in 29 projects
-
48. getcomments()Used in 29 projects
-
Used in 27 projects
-
Used in 27 projects
-
51. getclasstree()Used in 26 projects
-
52. getargs()Used in 26 projects
-
53. trace()Used in 25 projects
-
54. CO_VARKEYWORDSUsed in 21 projects
-
Used in 20 projects
-
56. ArgSpec()Used in 20 projects
-
57. html()Used in 17 projects
-
58. CO_VARARGSUsed in 16 projects
-
59. getmoduleinfo()Used in 15 projects
-
60. getattr_static()Used in 13 projects
-
61. isasyncgen()Used in 11 projects
-
62. CO_GENERATORUsed in 10 projects
-
63. getclosurevars()Used in 8 projects
-
64. CO_COROUTINEUsed in 7 projects
-
65. rst()Used in 7 projects
-
66. FullArgSpec()Used in 7 projects
-
67. py()Used in 6 projects
-
68. BoundArguments()Used in 6 projects
-
Used in 6 projects
-
70. BlockFinder()Used in 5 projects
-
71. EndOfBlock()Used in 5 projects
-
72. FrameInfo()Used in 5 projects