PyCG 0.0.8__tar.gz → 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1115) hide show
  1. pycg-1.0.0/.gitignore +29 -0
  2. pycg-1.0.0/PKG-INFO +169 -0
  3. pycg-1.0.0/README.md +155 -0
  4. pycg-1.0.0/docs/design.md +4779 -0
  5. pycg-1.0.0/docs/format.md +267 -0
  6. pycg-1.0.0/pycg/__init__.py +1 -0
  7. pycg-1.0.0/pycg/__main__.py +68 -0
  8. pycg-1.0.0/pycg/analysis/annotations.py +767 -0
  9. pycg-1.0.0/pycg/analysis/arguments.py +233 -0
  10. pycg-1.0.0/pycg/analysis/attributes.py +609 -0
  11. pycg-1.0.0/pycg/analysis/builder.py +1295 -0
  12. pycg-1.0.0/pycg/analysis/builtin_models.py +336 -0
  13. pycg-1.0.0/pycg/analysis/builtin_rules.py +946 -0
  14. pycg-1.0.0/pycg/analysis/containers.py +1146 -0
  15. pycg-1.0.0/pycg/analysis/expressions.py +856 -0
  16. pycg-1.0.0/pycg/analysis/flow.py +227 -0
  17. pycg-1.0.0/pycg/analysis/hierarchy.py +1032 -0
  18. pycg-1.0.0/pycg/analysis/imports.py +285 -0
  19. pycg-1.0.0/pycg/analysis/library.py +375 -0
  20. pycg-1.0.0/pycg/analysis/matching.py +217 -0
  21. pycg-1.0.0/pycg/analysis/model.py +425 -0
  22. pycg-1.0.0/pycg/analysis/mro.py +79 -0
  23. pycg-1.0.0/pycg/analysis/narrowing.py +512 -0
  24. pycg-1.0.0/pycg/analysis/outside.py +1236 -0
  25. pycg-1.0.0/pycg/analysis/patterns.py +278 -0
  26. pycg-1.0.0/pycg/analysis/program.py +348 -0
  27. pycg-1.0.0/pycg/analysis/protocols.py +595 -0
  28. pycg-1.0.0/pycg/analysis/reflection.py +172 -0
  29. pycg-1.0.0/pycg/analysis/scopes.py +558 -0
  30. pycg-1.0.0/pycg/analysis/semantics.py +1114 -0
  31. pycg-1.0.0/pycg/analysis/solver.py +902 -0
  32. pycg-1.0.0/pycg/analysis/stub_data/LICENSE +237 -0
  33. pycg-1.0.0/pycg/analysis/stub_data/README.md +232 -0
  34. pycg-1.0.0/pycg/analysis/stub_data/__future__.json +1 -0
  35. pycg-1.0.0/pycg/analysis/stub_data/__main__.json +1 -0
  36. pycg-1.0.0/pycg/analysis/stub_data/_ast.json +1 -0
  37. pycg-1.0.0/pycg/analysis/stub_data/_asyncio.json +1 -0
  38. pycg-1.0.0/pycg/analysis/stub_data/_bisect.json +1 -0
  39. pycg-1.0.0/pycg/analysis/stub_data/_blake2.json +1 -0
  40. pycg-1.0.0/pycg/analysis/stub_data/_bz2.json +1 -0
  41. pycg-1.0.0/pycg/analysis/stub_data/_codecs.json +1 -0
  42. pycg-1.0.0/pycg/analysis/stub_data/_collections_abc.json +1 -0
  43. pycg-1.0.0/pycg/analysis/stub_data/_colorize.json +1 -0
  44. pycg-1.0.0/pycg/analysis/stub_data/_compat_pickle.json +1 -0
  45. pycg-1.0.0/pycg/analysis/stub_data/_compression.json +1 -0
  46. pycg-1.0.0/pycg/analysis/stub_data/_contextvars.json +1 -0
  47. pycg-1.0.0/pycg/analysis/stub_data/_csv.json +1 -0
  48. pycg-1.0.0/pycg/analysis/stub_data/_ctypes.json +1 -0
  49. pycg-1.0.0/pycg/analysis/stub_data/_curses.json +1 -0
  50. pycg-1.0.0/pycg/analysis/stub_data/_curses_panel.json +1 -0
  51. pycg-1.0.0/pycg/analysis/stub_data/_dbm.json +1 -0
  52. pycg-1.0.0/pycg/analysis/stub_data/_decimal.json +1 -0
  53. pycg-1.0.0/pycg/analysis/stub_data/_frozen_importlib.json +1 -0
  54. pycg-1.0.0/pycg/analysis/stub_data/_frozen_importlib_external.json +1 -0
  55. pycg-1.0.0/pycg/analysis/stub_data/_gdbm.json +1 -0
  56. pycg-1.0.0/pycg/analysis/stub_data/_hashlib.json +1 -0
  57. pycg-1.0.0/pycg/analysis/stub_data/_heapq.json +1 -0
  58. pycg-1.0.0/pycg/analysis/stub_data/_imp.json +1 -0
  59. pycg-1.0.0/pycg/analysis/stub_data/_interpchannels.json +1 -0
  60. pycg-1.0.0/pycg/analysis/stub_data/_interpqueues.json +1 -0
  61. pycg-1.0.0/pycg/analysis/stub_data/_interpreters.json +1 -0
  62. pycg-1.0.0/pycg/analysis/stub_data/_io.json +1 -0
  63. pycg-1.0.0/pycg/analysis/stub_data/_json.json +1 -0
  64. pycg-1.0.0/pycg/analysis/stub_data/_locale.json +1 -0
  65. pycg-1.0.0/pycg/analysis/stub_data/_lsprof.json +1 -0
  66. pycg-1.0.0/pycg/analysis/stub_data/_lzma.json +1 -0
  67. pycg-1.0.0/pycg/analysis/stub_data/_markupbase.json +1 -0
  68. pycg-1.0.0/pycg/analysis/stub_data/_msi.json +1 -0
  69. pycg-1.0.0/pycg/analysis/stub_data/_multibytecodec.json +1 -0
  70. pycg-1.0.0/pycg/analysis/stub_data/_operator.json +1 -0
  71. pycg-1.0.0/pycg/analysis/stub_data/_osx_support.json +1 -0
  72. pycg-1.0.0/pycg/analysis/stub_data/_pickle.json +1 -0
  73. pycg-1.0.0/pycg/analysis/stub_data/_posixsubprocess.json +1 -0
  74. pycg-1.0.0/pycg/analysis/stub_data/_py_abc.json +1 -0
  75. pycg-1.0.0/pycg/analysis/stub_data/_pydecimal.json +1 -0
  76. pycg-1.0.0/pycg/analysis/stub_data/_queue.json +1 -0
  77. pycg-1.0.0/pycg/analysis/stub_data/_random.json +1 -0
  78. pycg-1.0.0/pycg/analysis/stub_data/_remote_debugging.json +1 -0
  79. pycg-1.0.0/pycg/analysis/stub_data/_sitebuiltins.json +1 -0
  80. pycg-1.0.0/pycg/analysis/stub_data/_socket.json +1 -0
  81. pycg-1.0.0/pycg/analysis/stub_data/_sqlite3.json +1 -0
  82. pycg-1.0.0/pycg/analysis/stub_data/_ssl.json +1 -0
  83. pycg-1.0.0/pycg/analysis/stub_data/_stat.json +1 -0
  84. pycg-1.0.0/pycg/analysis/stub_data/_struct.json +1 -0
  85. pycg-1.0.0/pycg/analysis/stub_data/_thread.json +1 -0
  86. pycg-1.0.0/pycg/analysis/stub_data/_threading_local.json +1 -0
  87. pycg-1.0.0/pycg/analysis/stub_data/_tkinter.json +1 -0
  88. pycg-1.0.0/pycg/analysis/stub_data/_tracemalloc.json +1 -0
  89. pycg-1.0.0/pycg/analysis/stub_data/_typeshed.json +1 -0
  90. pycg-1.0.0/pycg/analysis/stub_data/_warnings.json +1 -0
  91. pycg-1.0.0/pycg/analysis/stub_data/_weakref.json +1 -0
  92. pycg-1.0.0/pycg/analysis/stub_data/_weakrefset.json +1 -0
  93. pycg-1.0.0/pycg/analysis/stub_data/_winapi.json +1 -0
  94. pycg-1.0.0/pycg/analysis/stub_data/_zstd.json +1 -0
  95. pycg-1.0.0/pycg/analysis/stub_data/abc.json +1 -0
  96. pycg-1.0.0/pycg/analysis/stub_data/aifc.json +1 -0
  97. pycg-1.0.0/pycg/analysis/stub_data/annotationlib.json +1 -0
  98. pycg-1.0.0/pycg/analysis/stub_data/antigravity.json +1 -0
  99. pycg-1.0.0/pycg/analysis/stub_data/argparse.json +1 -0
  100. pycg-1.0.0/pycg/analysis/stub_data/array.json +1 -0
  101. pycg-1.0.0/pycg/analysis/stub_data/ast.json +1 -0
  102. pycg-1.0.0/pycg/analysis/stub_data/asynchat.json +1 -0
  103. pycg-1.0.0/pycg/analysis/stub_data/asyncio.json +1 -0
  104. pycg-1.0.0/pycg/analysis/stub_data/asyncore.json +1 -0
  105. pycg-1.0.0/pycg/analysis/stub_data/atexit.json +1 -0
  106. pycg-1.0.0/pycg/analysis/stub_data/audioop.json +1 -0
  107. pycg-1.0.0/pycg/analysis/stub_data/base64.json +1 -0
  108. pycg-1.0.0/pycg/analysis/stub_data/bdb.json +1 -0
  109. pycg-1.0.0/pycg/analysis/stub_data/binascii.json +1 -0
  110. pycg-1.0.0/pycg/analysis/stub_data/binhex.json +1 -0
  111. pycg-1.0.0/pycg/analysis/stub_data/bisect.json +1 -0
  112. pycg-1.0.0/pycg/analysis/stub_data/builtins.json +1 -0
  113. pycg-1.0.0/pycg/analysis/stub_data/bz2.json +1 -0
  114. pycg-1.0.0/pycg/analysis/stub_data/cProfile.json +1 -0
  115. pycg-1.0.0/pycg/analysis/stub_data/calendar.json +1 -0
  116. pycg-1.0.0/pycg/analysis/stub_data/cgi.json +1 -0
  117. pycg-1.0.0/pycg/analysis/stub_data/cgitb.json +1 -0
  118. pycg-1.0.0/pycg/analysis/stub_data/chunk.json +1 -0
  119. pycg-1.0.0/pycg/analysis/stub_data/cmath.json +1 -0
  120. pycg-1.0.0/pycg/analysis/stub_data/cmd.json +1 -0
  121. pycg-1.0.0/pycg/analysis/stub_data/code.json +1 -0
  122. pycg-1.0.0/pycg/analysis/stub_data/codecs.json +1 -0
  123. pycg-1.0.0/pycg/analysis/stub_data/codeop.json +1 -0
  124. pycg-1.0.0/pycg/analysis/stub_data/collections.json +1 -0
  125. pycg-1.0.0/pycg/analysis/stub_data/colorsys.json +1 -0
  126. pycg-1.0.0/pycg/analysis/stub_data/compileall.json +1 -0
  127. pycg-1.0.0/pycg/analysis/stub_data/compression.json +1 -0
  128. pycg-1.0.0/pycg/analysis/stub_data/concurrent.json +1 -0
  129. pycg-1.0.0/pycg/analysis/stub_data/configparser.json +1 -0
  130. pycg-1.0.0/pycg/analysis/stub_data/contextlib.json +1 -0
  131. pycg-1.0.0/pycg/analysis/stub_data/contextvars.json +1 -0
  132. pycg-1.0.0/pycg/analysis/stub_data/copy.json +1 -0
  133. pycg-1.0.0/pycg/analysis/stub_data/copyreg.json +1 -0
  134. pycg-1.0.0/pycg/analysis/stub_data/crypt.json +1 -0
  135. pycg-1.0.0/pycg/analysis/stub_data/csv.json +1 -0
  136. pycg-1.0.0/pycg/analysis/stub_data/ctypes.json +1 -0
  137. pycg-1.0.0/pycg/analysis/stub_data/curses.json +1 -0
  138. pycg-1.0.0/pycg/analysis/stub_data/dataclasses.json +1 -0
  139. pycg-1.0.0/pycg/analysis/stub_data/datetime.json +1 -0
  140. pycg-1.0.0/pycg/analysis/stub_data/dbm.json +1 -0
  141. pycg-1.0.0/pycg/analysis/stub_data/decimal.json +1 -0
  142. pycg-1.0.0/pycg/analysis/stub_data/difflib.json +1 -0
  143. pycg-1.0.0/pycg/analysis/stub_data/dis.json +1 -0
  144. pycg-1.0.0/pycg/analysis/stub_data/distutils.json +1 -0
  145. pycg-1.0.0/pycg/analysis/stub_data/doctest.json +1 -0
  146. pycg-1.0.0/pycg/analysis/stub_data/email.json +1 -0
  147. pycg-1.0.0/pycg/analysis/stub_data/encodings.json +1 -0
  148. pycg-1.0.0/pycg/analysis/stub_data/ensurepip.json +1 -0
  149. pycg-1.0.0/pycg/analysis/stub_data/enum.json +1 -0
  150. pycg-1.0.0/pycg/analysis/stub_data/errno.json +1 -0
  151. pycg-1.0.0/pycg/analysis/stub_data/faulthandler.json +1 -0
  152. pycg-1.0.0/pycg/analysis/stub_data/fcntl.json +1 -0
  153. pycg-1.0.0/pycg/analysis/stub_data/filecmp.json +1 -0
  154. pycg-1.0.0/pycg/analysis/stub_data/fileinput.json +1 -0
  155. pycg-1.0.0/pycg/analysis/stub_data/fnmatch.json +1 -0
  156. pycg-1.0.0/pycg/analysis/stub_data/fractions.json +1 -0
  157. pycg-1.0.0/pycg/analysis/stub_data/ftplib.json +1 -0
  158. pycg-1.0.0/pycg/analysis/stub_data/functools.json +1 -0
  159. pycg-1.0.0/pycg/analysis/stub_data/gc.json +1 -0
  160. pycg-1.0.0/pycg/analysis/stub_data/genericpath.json +1 -0
  161. pycg-1.0.0/pycg/analysis/stub_data/getopt.json +1 -0
  162. pycg-1.0.0/pycg/analysis/stub_data/getpass.json +1 -0
  163. pycg-1.0.0/pycg/analysis/stub_data/gettext.json +1 -0
  164. pycg-1.0.0/pycg/analysis/stub_data/glob.json +1 -0
  165. pycg-1.0.0/pycg/analysis/stub_data/graphlib.json +1 -0
  166. pycg-1.0.0/pycg/analysis/stub_data/grp.json +1 -0
  167. pycg-1.0.0/pycg/analysis/stub_data/gzip.json +1 -0
  168. pycg-1.0.0/pycg/analysis/stub_data/hashlib.json +1 -0
  169. pycg-1.0.0/pycg/analysis/stub_data/heapq.json +1 -0
  170. pycg-1.0.0/pycg/analysis/stub_data/hmac.json +1 -0
  171. pycg-1.0.0/pycg/analysis/stub_data/html.json +1 -0
  172. pycg-1.0.0/pycg/analysis/stub_data/http.json +1 -0
  173. pycg-1.0.0/pycg/analysis/stub_data/imaplib.json +1 -0
  174. pycg-1.0.0/pycg/analysis/stub_data/imghdr.json +1 -0
  175. pycg-1.0.0/pycg/analysis/stub_data/imp.json +1 -0
  176. pycg-1.0.0/pycg/analysis/stub_data/importlib.json +1 -0
  177. pycg-1.0.0/pycg/analysis/stub_data/inspect.json +1 -0
  178. pycg-1.0.0/pycg/analysis/stub_data/io.json +1 -0
  179. pycg-1.0.0/pycg/analysis/stub_data/ipaddress.json +1 -0
  180. pycg-1.0.0/pycg/analysis/stub_data/itertools.json +1 -0
  181. pycg-1.0.0/pycg/analysis/stub_data/json.json +1 -0
  182. pycg-1.0.0/pycg/analysis/stub_data/keyword.json +1 -0
  183. pycg-1.0.0/pycg/analysis/stub_data/lib2to3.json +1 -0
  184. pycg-1.0.0/pycg/analysis/stub_data/linecache.json +1 -0
  185. pycg-1.0.0/pycg/analysis/stub_data/locale.json +1 -0
  186. pycg-1.0.0/pycg/analysis/stub_data/logging.json +1 -0
  187. pycg-1.0.0/pycg/analysis/stub_data/lzma.json +1 -0
  188. pycg-1.0.0/pycg/analysis/stub_data/mailbox.json +1 -0
  189. pycg-1.0.0/pycg/analysis/stub_data/mailcap.json +1 -0
  190. pycg-1.0.0/pycg/analysis/stub_data/marshal.json +1 -0
  191. pycg-1.0.0/pycg/analysis/stub_data/math.json +1 -0
  192. pycg-1.0.0/pycg/analysis/stub_data/mimetypes.json +1 -0
  193. pycg-1.0.0/pycg/analysis/stub_data/mmap.json +1 -0
  194. pycg-1.0.0/pycg/analysis/stub_data/modulefinder.json +1 -0
  195. pycg-1.0.0/pycg/analysis/stub_data/msilib.json +1 -0
  196. pycg-1.0.0/pycg/analysis/stub_data/msvcrt.json +1 -0
  197. pycg-1.0.0/pycg/analysis/stub_data/multiprocessing.json +1 -0
  198. pycg-1.0.0/pycg/analysis/stub_data/netrc.json +1 -0
  199. pycg-1.0.0/pycg/analysis/stub_data/nis.json +1 -0
  200. pycg-1.0.0/pycg/analysis/stub_data/nntplib.json +1 -0
  201. pycg-1.0.0/pycg/analysis/stub_data/nt.json +1 -0
  202. pycg-1.0.0/pycg/analysis/stub_data/ntpath.json +1 -0
  203. pycg-1.0.0/pycg/analysis/stub_data/nturl2path.json +1 -0
  204. pycg-1.0.0/pycg/analysis/stub_data/numbers.json +1 -0
  205. pycg-1.0.0/pycg/analysis/stub_data/opcode.json +1 -0
  206. pycg-1.0.0/pycg/analysis/stub_data/operator.json +1 -0
  207. pycg-1.0.0/pycg/analysis/stub_data/optparse.json +1 -0
  208. pycg-1.0.0/pycg/analysis/stub_data/os.json +1 -0
  209. pycg-1.0.0/pycg/analysis/stub_data/ossaudiodev.json +1 -0
  210. pycg-1.0.0/pycg/analysis/stub_data/pathlib.json +1 -0
  211. pycg-1.0.0/pycg/analysis/stub_data/pdb.json +1 -0
  212. pycg-1.0.0/pycg/analysis/stub_data/pickle.json +1 -0
  213. pycg-1.0.0/pycg/analysis/stub_data/pickletools.json +1 -0
  214. pycg-1.0.0/pycg/analysis/stub_data/pipes.json +1 -0
  215. pycg-1.0.0/pycg/analysis/stub_data/pkgutil.json +1 -0
  216. pycg-1.0.0/pycg/analysis/stub_data/platform.json +1 -0
  217. pycg-1.0.0/pycg/analysis/stub_data/plistlib.json +1 -0
  218. pycg-1.0.0/pycg/analysis/stub_data/poplib.json +1 -0
  219. pycg-1.0.0/pycg/analysis/stub_data/posix.json +1 -0
  220. pycg-1.0.0/pycg/analysis/stub_data/posixpath.json +1 -0
  221. pycg-1.0.0/pycg/analysis/stub_data/pprint.json +1 -0
  222. pycg-1.0.0/pycg/analysis/stub_data/profile.json +1 -0
  223. pycg-1.0.0/pycg/analysis/stub_data/profiling.json +1 -0
  224. pycg-1.0.0/pycg/analysis/stub_data/pstats.json +1 -0
  225. pycg-1.0.0/pycg/analysis/stub_data/pty.json +1 -0
  226. pycg-1.0.0/pycg/analysis/stub_data/pwd.json +1 -0
  227. pycg-1.0.0/pycg/analysis/stub_data/py_compile.json +1 -0
  228. pycg-1.0.0/pycg/analysis/stub_data/pyclbr.json +1 -0
  229. pycg-1.0.0/pycg/analysis/stub_data/pydoc.json +1 -0
  230. pycg-1.0.0/pycg/analysis/stub_data/pydoc_data.json +1 -0
  231. pycg-1.0.0/pycg/analysis/stub_data/pyexpat.json +1 -0
  232. pycg-1.0.0/pycg/analysis/stub_data/queue.json +1 -0
  233. pycg-1.0.0/pycg/analysis/stub_data/quopri.json +1 -0
  234. pycg-1.0.0/pycg/analysis/stub_data/random.json +1 -0
  235. pycg-1.0.0/pycg/analysis/stub_data/re.json +1 -0
  236. pycg-1.0.0/pycg/analysis/stub_data/readline.json +1 -0
  237. pycg-1.0.0/pycg/analysis/stub_data/reprlib.json +1 -0
  238. pycg-1.0.0/pycg/analysis/stub_data/resource.json +1 -0
  239. pycg-1.0.0/pycg/analysis/stub_data/rlcompleter.json +1 -0
  240. pycg-1.0.0/pycg/analysis/stub_data/runpy.json +1 -0
  241. pycg-1.0.0/pycg/analysis/stub_data/sched.json +1 -0
  242. pycg-1.0.0/pycg/analysis/stub_data/secrets.json +1 -0
  243. pycg-1.0.0/pycg/analysis/stub_data/select.json +1 -0
  244. pycg-1.0.0/pycg/analysis/stub_data/selectors.json +1 -0
  245. pycg-1.0.0/pycg/analysis/stub_data/shelve.json +1 -0
  246. pycg-1.0.0/pycg/analysis/stub_data/shlex.json +1 -0
  247. pycg-1.0.0/pycg/analysis/stub_data/shutil.json +1 -0
  248. pycg-1.0.0/pycg/analysis/stub_data/signal.json +1 -0
  249. pycg-1.0.0/pycg/analysis/stub_data/site.json +1 -0
  250. pycg-1.0.0/pycg/analysis/stub_data/smtpd.json +1 -0
  251. pycg-1.0.0/pycg/analysis/stub_data/smtplib.json +1 -0
  252. pycg-1.0.0/pycg/analysis/stub_data/sndhdr.json +1 -0
  253. pycg-1.0.0/pycg/analysis/stub_data/socket.json +1 -0
  254. pycg-1.0.0/pycg/analysis/stub_data/socketserver.json +1 -0
  255. pycg-1.0.0/pycg/analysis/stub_data/spwd.json +1 -0
  256. pycg-1.0.0/pycg/analysis/stub_data/sqlite3.json +1 -0
  257. pycg-1.0.0/pycg/analysis/stub_data/sre_compile.json +1 -0
  258. pycg-1.0.0/pycg/analysis/stub_data/sre_constants.json +1 -0
  259. pycg-1.0.0/pycg/analysis/stub_data/sre_parse.json +1 -0
  260. pycg-1.0.0/pycg/analysis/stub_data/ssl.json +1 -0
  261. pycg-1.0.0/pycg/analysis/stub_data/stat.json +1 -0
  262. pycg-1.0.0/pycg/analysis/stub_data/statistics.json +1 -0
  263. pycg-1.0.0/pycg/analysis/stub_data/string.json +1 -0
  264. pycg-1.0.0/pycg/analysis/stub_data/stringprep.json +1 -0
  265. pycg-1.0.0/pycg/analysis/stub_data/struct.json +1 -0
  266. pycg-1.0.0/pycg/analysis/stub_data/subprocess.json +1 -0
  267. pycg-1.0.0/pycg/analysis/stub_data/sunau.json +1 -0
  268. pycg-1.0.0/pycg/analysis/stub_data/symtable.json +1 -0
  269. pycg-1.0.0/pycg/analysis/stub_data/sys.json +1 -0
  270. pycg-1.0.0/pycg/analysis/stub_data/sysconfig.json +1 -0
  271. pycg-1.0.0/pycg/analysis/stub_data/syslog.json +1 -0
  272. pycg-1.0.0/pycg/analysis/stub_data/tabnanny.json +1 -0
  273. pycg-1.0.0/pycg/analysis/stub_data/tarfile.json +1 -0
  274. pycg-1.0.0/pycg/analysis/stub_data/telnetlib.json +1 -0
  275. pycg-1.0.0/pycg/analysis/stub_data/tempfile.json +1 -0
  276. pycg-1.0.0/pycg/analysis/stub_data/termios.json +1 -0
  277. pycg-1.0.0/pycg/analysis/stub_data/textwrap.json +1 -0
  278. pycg-1.0.0/pycg/analysis/stub_data/third_party/Jetson.json +1 -0
  279. pycg-1.0.0/pycg/analysis/stub_data/third_party/MySQLdb.json +1 -0
  280. pycg-1.0.0/pycg/analysis/stub_data/third_party/PyInstaller.json +1 -0
  281. pycg-1.0.0/pycg/analysis/stub_data/third_party/RPi.json +1 -0
  282. pycg-1.0.0/pycg/analysis/stub_data/third_party/Xlib.json +1 -0
  283. pycg-1.0.0/pycg/analysis/stub_data/third_party/_cffi_backend.json +1 -0
  284. pycg-1.0.0/pycg/analysis/stub_data/third_party/_jsonnet.json +1 -0
  285. pycg-1.0.0/pycg/analysis/stub_data/third_party/_win32typing.json +1 -0
  286. pycg-1.0.0/pycg/analysis/stub_data/third_party/aiofiles.json +1 -0
  287. pycg-1.0.0/pycg/analysis/stub_data/third_party/antlr4.json +1 -0
  288. pycg-1.0.0/pycg/analysis/stub_data/third_party/assertpy.json +1 -0
  289. pycg-1.0.0/pycg/analysis/stub_data/third_party/atheris.json +1 -0
  290. pycg-1.0.0/pycg/analysis/stub_data/third_party/authlib.json +1 -0
  291. pycg-1.0.0/pycg/analysis/stub_data/third_party/aws_xray_sdk.json +1 -0
  292. pycg-1.0.0/pycg/analysis/stub_data/third_party/behave.json +1 -0
  293. pycg-1.0.0/pycg/analysis/stub_data/third_party/bleach.json +1 -0
  294. pycg-1.0.0/pycg/analysis/stub_data/third_party/boltons.json +1 -0
  295. pycg-1.0.0/pycg/analysis/stub_data/third_party/braintree.json +1 -0
  296. pycg-1.0.0/pycg/analysis/stub_data/third_party/bugbear.json +1 -0
  297. pycg-1.0.0/pycg/analysis/stub_data/third_party/capturer.json +1 -0
  298. pycg-1.0.0/pycg/analysis/stub_data/third_party/cffi.json +1 -0
  299. pycg-1.0.0/pycg/analysis/stub_data/third_party/channels.json +1 -0
  300. pycg-1.0.0/pycg/analysis/stub_data/third_party/chevron.json +1 -0
  301. pycg-1.0.0/pycg/analysis/stub_data/third_party/click_default_group.json +1 -0
  302. pycg-1.0.0/pycg/analysis/stub_data/third_party/click_log.json +1 -0
  303. pycg-1.0.0/pycg/analysis/stub_data/third_party/click_shell.json +1 -0
  304. pycg-1.0.0/pycg/analysis/stub_data/third_party/click_spinner.json +1 -0
  305. pycg-1.0.0/pycg/analysis/stub_data/third_party/click_web.json +1 -0
  306. pycg-1.0.0/pycg/analysis/stub_data/third_party/colorama.json +1 -0
  307. pycg-1.0.0/pycg/analysis/stub_data/third_party/colorful.json +1 -0
  308. pycg-1.0.0/pycg/analysis/stub_data/third_party/commctrl.json +1 -0
  309. pycg-1.0.0/pycg/analysis/stub_data/third_party/consolemenu.json +1 -0
  310. pycg-1.0.0/pycg/analysis/stub_data/third_party/convertdate.json +1 -0
  311. pycg-1.0.0/pycg/analysis/stub_data/third_party/croniter.json +1 -0
  312. pycg-1.0.0/pycg/analysis/stub_data/third_party/cronlog.json +1 -0
  313. pycg-1.0.0/pycg/analysis/stub_data/third_party/crontab.json +1 -0
  314. pycg-1.0.0/pycg/analysis/stub_data/third_party/crontabs.json +1 -0
  315. pycg-1.0.0/pycg/analysis/stub_data/third_party/cups.json +1 -0
  316. pycg-1.0.0/pycg/analysis/stub_data/third_party/datauri.json +1 -0
  317. pycg-1.0.0/pycg/analysis/stub_data/third_party/dateparser.json +1 -0
  318. pycg-1.0.0/pycg/analysis/stub_data/third_party/dateparser_data.json +1 -0
  319. pycg-1.0.0/pycg/analysis/stub_data/third_party/dateutil.json +1 -0
  320. pycg-1.0.0/pycg/analysis/stub_data/third_party/dde.json +1 -0
  321. pycg-1.0.0/pycg/analysis/stub_data/third_party/decorator.json +1 -0
  322. pycg-1.0.0/pycg/analysis/stub_data/third_party/defusedxml.json +1 -0
  323. pycg-1.0.0/pycg/analysis/stub_data/third_party/deprecated.json +1 -0
  324. pycg-1.0.0/pycg/analysis/stub_data/third_party/dirhash.json +1 -0
  325. pycg-1.0.0/pycg/analysis/stub_data/third_party/django_filters.json +1 -0
  326. pycg-1.0.0/pycg/analysis/stub_data/third_party/docker.json +1 -0
  327. pycg-1.0.0/pycg/analysis/stub_data/third_party/dockerfile_parse.json +1 -0
  328. pycg-1.0.0/pycg/analysis/stub_data/third_party/docutils.json +1 -0
  329. pycg-1.0.0/pycg/analysis/stub_data/third_party/editdistance.json +1 -0
  330. pycg-1.0.0/pycg/analysis/stub_data/third_party/entrypoints.json +1 -0
  331. pycg-1.0.0/pycg/analysis/stub_data/third_party/ephem.json +1 -0
  332. pycg-1.0.0/pycg/analysis/stub_data/third_party/et_xmlfile.json +1 -0
  333. pycg-1.0.0/pycg/analysis/stub_data/third_party/fanstatic.json +1 -0
  334. pycg-1.0.0/pycg/analysis/stub_data/third_party/farmhash.json +1 -0
  335. pycg-1.0.0/pycg/analysis/stub_data/third_party/first.json +1 -0
  336. pycg-1.0.0/pycg/analysis/stub_data/third_party/flake8.json +1 -0
  337. pycg-1.0.0/pycg/analysis/stub_data/third_party/flake8_builtins.json +1 -0
  338. pycg-1.0.0/pycg/analysis/stub_data/third_party/flake8_docstrings.json +1 -0
  339. pycg-1.0.0/pycg/analysis/stub_data/third_party/flake8_rst_docstrings.json +1 -0
  340. pycg-1.0.0/pycg/analysis/stub_data/third_party/flake8_simplify.json +1 -0
  341. pycg-1.0.0/pycg/analysis/stub_data/third_party/flask_cors.json +1 -0
  342. pycg-1.0.0/pycg/analysis/stub_data/third_party/flask_migrate.json +1 -0
  343. pycg-1.0.0/pycg/analysis/stub_data/third_party/flask_socketio.json +1 -0
  344. pycg-1.0.0/pycg/analysis/stub_data/third_party/gdb.json +1 -0
  345. pycg-1.0.0/pycg/analysis/stub_data/third_party/geojson.json +1 -0
  346. pycg-1.0.0/pycg/analysis/stub_data/third_party/geopandas.json +1 -0
  347. pycg-1.0.0/pycg/analysis/stub_data/third_party/gevent.json +1 -0
  348. pycg-1.0.0/pycg/analysis/stub_data/third_party/google.json +1 -0
  349. pycg-1.0.0/pycg/analysis/stub_data/third_party/greenlet.json +1 -0
  350. pycg-1.0.0/pycg/analysis/stub_data/third_party/grpc.json +1 -0
  351. pycg-1.0.0/pycg/analysis/stub_data/third_party/grpc_channelz.json +1 -0
  352. pycg-1.0.0/pycg/analysis/stub_data/third_party/grpc_health.json +1 -0
  353. pycg-1.0.0/pycg/analysis/stub_data/third_party/grpc_reflection.json +1 -0
  354. pycg-1.0.0/pycg/analysis/stub_data/third_party/grpc_status.json +1 -0
  355. pycg-1.0.0/pycg/analysis/stub_data/third_party/gunicorn.json +1 -0
  356. pycg-1.0.0/pycg/analysis/stub_data/third_party/hdbcli.json +1 -0
  357. pycg-1.0.0/pycg/analysis/stub_data/third_party/hnswlib.json +1 -0
  358. pycg-1.0.0/pycg/analysis/stub_data/third_party/html5lib.json +1 -0
  359. pycg-1.0.0/pycg/analysis/stub_data/third_party/httplib2.json +1 -0
  360. pycg-1.0.0/pycg/analysis/stub_data/third_party/httpretty.json +1 -0
  361. pycg-1.0.0/pycg/analysis/stub_data/third_party/hvac.json +1 -0
  362. pycg-1.0.0/pycg/analysis/stub_data/third_party/ibm_db.json +1 -0
  363. pycg-1.0.0/pycg/analysis/stub_data/third_party/ibm_db_ctx.json +1 -0
  364. pycg-1.0.0/pycg/analysis/stub_data/third_party/import_export.json +1 -0
  365. pycg-1.0.0/pycg/analysis/stub_data/third_party/inifile.json +1 -0
  366. pycg-1.0.0/pycg/analysis/stub_data/third_party/isapi.json +1 -0
  367. pycg-1.0.0/pycg/analysis/stub_data/third_party/jack.json +1 -0
  368. pycg-1.0.0/pycg/analysis/stub_data/third_party/jenkins.json +1 -0
  369. pycg-1.0.0/pycg/analysis/stub_data/third_party/jks.json +1 -0
  370. pycg-1.0.0/pycg/analysis/stub_data/third_party/jmespath.json +1 -0
  371. pycg-1.0.0/pycg/analysis/stub_data/third_party/jose.json +1 -0
  372. pycg-1.0.0/pycg/analysis/stub_data/third_party/jsonschema.json +1 -0
  373. pycg-1.0.0/pycg/analysis/stub_data/third_party/jwcrypto.json +1 -0
  374. pycg-1.0.0/pycg/analysis/stub_data/third_party/kafka.json +1 -0
  375. pycg-1.0.0/pycg/analysis/stub_data/third_party/keyboard.json +1 -0
  376. pycg-1.0.0/pycg/analysis/stub_data/third_party/ldap3.json +1 -0
  377. pycg-1.0.0/pycg/analysis/stub_data/third_party/lunardate.json +1 -0
  378. pycg-1.0.0/pycg/analysis/stub_data/third_party/lupa.json +1 -0
  379. pycg-1.0.0/pycg/analysis/stub_data/third_party/lzstring.json +1 -0
  380. pycg-1.0.0/pycg/analysis/stub_data/third_party/m3u8.json +1 -0
  381. pycg-1.0.0/pycg/analysis/stub_data/third_party/management.json +1 -0
  382. pycg-1.0.0/pycg/analysis/stub_data/third_party/markdown.json +1 -0
  383. pycg-1.0.0/pycg/analysis/stub_data/third_party/mmapfile.json +1 -0
  384. pycg-1.0.0/pycg/analysis/stub_data/third_party/mmsystem.json +1 -0
  385. pycg-1.0.0/pycg/analysis/stub_data/third_party/mock.json +1 -0
  386. pycg-1.0.0/pycg/analysis/stub_data/third_party/mypy_extensions.json +1 -0
  387. pycg-1.0.0/pycg/analysis/stub_data/third_party/nanoid.json +1 -0
  388. pycg-1.0.0/pycg/analysis/stub_data/third_party/nanoleafapi.json +1 -0
  389. pycg-1.0.0/pycg/analysis/stub_data/third_party/netaddr.json +1 -0
  390. pycg-1.0.0/pycg/analysis/stub_data/third_party/netifaces.json +1 -0
  391. pycg-1.0.0/pycg/analysis/stub_data/third_party/networkx.json +1 -0
  392. pycg-1.0.0/pycg/analysis/stub_data/third_party/nmap.json +1 -0
  393. pycg-1.0.0/pycg/analysis/stub_data/third_party/ntsecuritycon.json +1 -0
  394. pycg-1.0.0/pycg/analysis/stub_data/third_party/oauthlib.json +1 -0
  395. pycg-1.0.0/pycg/analysis/stub_data/third_party/objgraph.json +1 -0
  396. pycg-1.0.0/pycg/analysis/stub_data/third_party/odbc.json +1 -0
  397. pycg-1.0.0/pycg/analysis/stub_data/third_party/olefile.json +1 -0
  398. pycg-1.0.0/pycg/analysis/stub_data/third_party/openpyxl.json +1 -0
  399. pycg-1.0.0/pycg/analysis/stub_data/third_party/opentracing.json +1 -0
  400. pycg-1.0.0/pycg/analysis/stub_data/third_party/paramiko.json +1 -0
  401. pycg-1.0.0/pycg/analysis/stub_data/third_party/parsimonious.json +1 -0
  402. pycg-1.0.0/pycg/analysis/stub_data/third_party/passpy.json +1 -0
  403. pycg-1.0.0/pycg/analysis/stub_data/third_party/peewee.json +1 -0
  404. pycg-1.0.0/pycg/analysis/stub_data/third_party/pep8ext_naming.json +1 -0
  405. pycg-1.0.0/pycg/analysis/stub_data/third_party/perfmon.json +1 -0
  406. pycg-1.0.0/pycg/analysis/stub_data/third_party/pexpect.json +1 -0
  407. pycg-1.0.0/pycg/analysis/stub_data/third_party/pika.json +1 -0
  408. pycg-1.0.0/pycg/analysis/stub_data/third_party/playhouse.json +1 -0
  409. pycg-1.0.0/pycg/analysis/stub_data/third_party/polib.json +1 -0
  410. pycg-1.0.0/pycg/analysis/stub_data/third_party/pony.json +1 -0
  411. pycg-1.0.0/pycg/analysis/stub_data/third_party/portpicker.json +1 -0
  412. pycg-1.0.0/pycg/analysis/stub_data/third_party/psutil.json +1 -0
  413. pycg-1.0.0/pycg/analysis/stub_data/third_party/psycopg2.json +1 -0
  414. pycg-1.0.0/pycg/analysis/stub_data/third_party/punq.json +1 -0
  415. pycg-1.0.0/pycg/analysis/stub_data/third_party/pyasn1.json +1 -0
  416. pycg-1.0.0/pycg/analysis/stub_data/third_party/pyaudio.json +1 -0
  417. pycg-1.0.0/pycg/analysis/stub_data/third_party/pyautogui.json +1 -0
  418. pycg-1.0.0/pycg/analysis/stub_data/third_party/pycocotools.json +1 -0
  419. pycg-1.0.0/pycg/analysis/stub_data/third_party/pycurl.json +1 -0
  420. pycg-1.0.0/pycg/analysis/stub_data/third_party/pyflakes.json +1 -0
  421. pycg-1.0.0/pycg/analysis/stub_data/third_party/pygments.json +1 -0
  422. pycg-1.0.0/pycg/analysis/stub_data/third_party/pyi_splash.json +1 -0
  423. pycg-1.0.0/pycg/analysis/stub_data/third_party/pyluach.json +1 -0
  424. pycg-1.0.0/pycg/analysis/stub_data/third_party/pymeeus.json +1 -0
  425. pycg-1.0.0/pycg/analysis/stub_data/third_party/pymysql.json +1 -0
  426. pycg-1.0.0/pycg/analysis/stub_data/third_party/pynput.json +1 -0
  427. pycg-1.0.0/pycg/analysis/stub_data/third_party/pyogrio.json +1 -0
  428. pycg-1.0.0/pycg/analysis/stub_data/third_party/pyperclip.json +1 -0
  429. pycg-1.0.0/pycg/analysis/stub_data/third_party/pyphen.json +1 -0
  430. pycg-1.0.0/pycg/analysis/stub_data/third_party/pyscreeze.json +1 -0
  431. pycg-1.0.0/pycg/analysis/stub_data/third_party/pytest_lazyfixture.json +1 -0
  432. pycg-1.0.0/pycg/analysis/stub_data/third_party/python_http_client.json +1 -0
  433. pycg-1.0.0/pycg/analysis/stub_data/third_party/pythoncom.json +1 -0
  434. pycg-1.0.0/pycg/analysis/stub_data/third_party/pythonwin.json +1 -0
  435. pycg-1.0.0/pycg/analysis/stub_data/third_party/pytz.json +1 -0
  436. pycg-1.0.0/pycg/analysis/stub_data/third_party/pywintypes.json +1 -0
  437. pycg-1.0.0/pycg/analysis/stub_data/third_party/qrbill.json +1 -0
  438. pycg-1.0.0/pycg/analysis/stub_data/third_party/qrcode.json +1 -0
  439. pycg-1.0.0/pycg/analysis/stub_data/third_party/rasterio.json +1 -0
  440. pycg-1.0.0/pycg/analysis/stub_data/third_party/ratelimit.json +1 -0
  441. pycg-1.0.0/pycg/analysis/stub_data/third_party/regex.json +1 -0
  442. pycg-1.0.0/pycg/analysis/stub_data/third_party/regutil.json +1 -0
  443. pycg-1.0.0/pycg/analysis/stub_data/third_party/reportlab.json +1 -0
  444. pycg-1.0.0/pycg/analysis/stub_data/third_party/requests.json +1 -0
  445. pycg-1.0.0/pycg/analysis/stub_data/third_party/requests_oauthlib.json +1 -0
  446. pycg-1.0.0/pycg/analysis/stub_data/third_party/resampy.json +1 -0
  447. pycg-1.0.0/pycg/analysis/stub_data/third_party/retry.json +1 -0
  448. pycg-1.0.0/pycg/analysis/stub_data/third_party/rfc3339_validator.json +1 -0
  449. pycg-1.0.0/pycg/analysis/stub_data/third_party/s2clientprotocol.json +1 -0
  450. pycg-1.0.0/pycg/analysis/stub_data/third_party/scp.json +1 -0
  451. pycg-1.0.0/pycg/analysis/stub_data/third_party/seaborn.json +1 -0
  452. pycg-1.0.0/pycg/analysis/stub_data/third_party/send2trash.json +1 -0
  453. pycg-1.0.0/pycg/analysis/stub_data/third_party/serial.json +1 -0
  454. pycg-1.0.0/pycg/analysis/stub_data/third_party/servicemanager.json +1 -0
  455. pycg-1.0.0/pycg/analysis/stub_data/third_party/setuptools.json +1 -0
  456. pycg-1.0.0/pycg/analysis/stub_data/third_party/shapely.json +1 -0
  457. pycg-1.0.0/pycg/analysis/stub_data/third_party/simple_websocket.json +1 -0
  458. pycg-1.0.0/pycg/analysis/stub_data/third_party/simplejson.json +1 -0
  459. pycg-1.0.0/pycg/analysis/stub_data/third_party/singledispatch.json +1 -0
  460. pycg-1.0.0/pycg/analysis/stub_data/third_party/six.json +1 -0
  461. pycg-1.0.0/pycg/analysis/stub_data/third_party/slumber.json +1 -0
  462. pycg-1.0.0/pycg/analysis/stub_data/third_party/socks.json +1 -0
  463. pycg-1.0.0/pycg/analysis/stub_data/third_party/sockshandler.json +1 -0
  464. pycg-1.0.0/pycg/analysis/stub_data/third_party/sspicon.json +1 -0
  465. pycg-1.0.0/pycg/analysis/stub_data/third_party/str2bool.json +1 -0
  466. pycg-1.0.0/pycg/analysis/stub_data/third_party/tabulate.json +1 -0
  467. pycg-1.0.0/pycg/analysis/stub_data/third_party/tensorflow.json +1 -0
  468. pycg-1.0.0/pycg/analysis/stub_data/third_party/tgcrypto.json +1 -0
  469. pycg-1.0.0/pycg/analysis/stub_data/third_party/timer.json +1 -0
  470. pycg-1.0.0/pycg/analysis/stub_data/third_party/tinycss2.json +1 -0
  471. pycg-1.0.0/pycg/analysis/stub_data/third_party/titlecase.json +1 -0
  472. pycg-1.0.0/pycg/analysis/stub_data/third_party/toml.json +1 -0
  473. pycg-1.0.0/pycg/analysis/stub_data/third_party/toposort.json +1 -0
  474. pycg-1.0.0/pycg/analysis/stub_data/third_party/tqdm.json +1 -0
  475. pycg-1.0.0/pycg/analysis/stub_data/third_party/translationstring.json +1 -0
  476. pycg-1.0.0/pycg/analysis/stub_data/third_party/ttkthemes.json +1 -0
  477. pycg-1.0.0/pycg/analysis/stub_data/third_party/tzdata.json +1 -0
  478. pycg-1.0.0/pycg/analysis/stub_data/third_party/unidiff.json +1 -0
  479. pycg-1.0.0/pycg/analysis/stub_data/third_party/untangle.json +1 -0
  480. pycg-1.0.0/pycg/analysis/stub_data/third_party/usersettings.json +1 -0
  481. pycg-1.0.0/pycg/analysis/stub_data/third_party/uwsgi.json +1 -0
  482. pycg-1.0.0/pycg/analysis/stub_data/third_party/uwsgidecorators.json +1 -0
  483. pycg-1.0.0/pycg/analysis/stub_data/third_party/vobject.json +1 -0
  484. pycg-1.0.0/pycg/analysis/stub_data/third_party/waitress.json +1 -0
  485. pycg-1.0.0/pycg/analysis/stub_data/third_party/watchpoints.json +1 -0
  486. pycg-1.0.0/pycg/analysis/stub_data/third_party/webencodings.json +1 -0
  487. pycg-1.0.0/pycg/analysis/stub_data/third_party/webob.json +1 -0
  488. pycg-1.0.0/pycg/analysis/stub_data/third_party/webtest.json +1 -0
  489. pycg-1.0.0/pycg/analysis/stub_data/third_party/whatthepatch.json +1 -0
  490. pycg-1.0.0/pycg/analysis/stub_data/third_party/win2kras.json +1 -0
  491. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32.json +1 -0
  492. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32api.json +1 -0
  493. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32clipboard.json +1 -0
  494. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32com.json +1 -0
  495. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32comext.json +1 -0
  496. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32con.json +1 -0
  497. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32console.json +1 -0
  498. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32cred.json +1 -0
  499. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32crypt.json +1 -0
  500. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32cryptcon.json +1 -0
  501. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32event.json +1 -0
  502. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32evtlog.json +1 -0
  503. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32evtlogutil.json +1 -0
  504. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32file.json +1 -0
  505. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32gui.json +1 -0
  506. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32gui_struct.json +1 -0
  507. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32help.json +1 -0
  508. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32inet.json +1 -0
  509. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32inetcon.json +1 -0
  510. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32job.json +1 -0
  511. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32lz.json +1 -0
  512. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32net.json +1 -0
  513. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32netcon.json +1 -0
  514. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32pdh.json +1 -0
  515. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32pdhquery.json +1 -0
  516. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32pipe.json +1 -0
  517. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32print.json +1 -0
  518. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32process.json +1 -0
  519. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32profile.json +1 -0
  520. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32ras.json +1 -0
  521. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32security.json +1 -0
  522. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32service.json +1 -0
  523. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32serviceutil.json +1 -0
  524. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32timezone.json +1 -0
  525. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32trace.json +1 -0
  526. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32transaction.json +1 -0
  527. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32ts.json +1 -0
  528. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32ui.json +1 -0
  529. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32uiole.json +1 -0
  530. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32verstamp.json +1 -0
  531. pycg-1.0.0/pycg/analysis/stub_data/third_party/win32wnet.json +1 -0
  532. pycg-1.0.0/pycg/analysis/stub_data/third_party/winerror.json +1 -0
  533. pycg-1.0.0/pycg/analysis/stub_data/third_party/winioctlcon.json +1 -0
  534. pycg-1.0.0/pycg/analysis/stub_data/third_party/winnt.json +1 -0
  535. pycg-1.0.0/pycg/analysis/stub_data/third_party/winperf.json +1 -0
  536. pycg-1.0.0/pycg/analysis/stub_data/third_party/winxpgui.json +1 -0
  537. pycg-1.0.0/pycg/analysis/stub_data/third_party/winxptheme.json +1 -0
  538. pycg-1.0.0/pycg/analysis/stub_data/third_party/workalendar.json +1 -0
  539. pycg-1.0.0/pycg/analysis/stub_data/third_party/wtforms.json +1 -0
  540. pycg-1.0.0/pycg/analysis/stub_data/third_party/wurlitzer.json +1 -0
  541. pycg-1.0.0/pycg/analysis/stub_data/third_party/www_authenticate.json +1 -0
  542. pycg-1.0.0/pycg/analysis/stub_data/third_party/xdg.json +1 -0
  543. pycg-1.0.0/pycg/analysis/stub_data/third_party/xdgenvpy.json +1 -0
  544. pycg-1.0.0/pycg/analysis/stub_data/third_party/xlrd.json +1 -0
  545. pycg-1.0.0/pycg/analysis/stub_data/third_party/xmldiff.json +1 -0
  546. pycg-1.0.0/pycg/analysis/stub_data/third_party/xmltodict.json +1 -0
  547. pycg-1.0.0/pycg/analysis/stub_data/third_party/yaml.json +1 -0
  548. pycg-1.0.0/pycg/analysis/stub_data/third_party/yt_dlp.json +1 -0
  549. pycg-1.0.0/pycg/analysis/stub_data/third_party/zstd.json +1 -0
  550. pycg-1.0.0/pycg/analysis/stub_data/third_party/zxcvbn.json +1 -0
  551. pycg-1.0.0/pycg/analysis/stub_data/this.json +1 -0
  552. pycg-1.0.0/pycg/analysis/stub_data/threading.json +1 -0
  553. pycg-1.0.0/pycg/analysis/stub_data/time.json +1 -0
  554. pycg-1.0.0/pycg/analysis/stub_data/timeit.json +1 -0
  555. pycg-1.0.0/pycg/analysis/stub_data/tkinter.json +1 -0
  556. pycg-1.0.0/pycg/analysis/stub_data/token.json +1 -0
  557. pycg-1.0.0/pycg/analysis/stub_data/tokenize.json +1 -0
  558. pycg-1.0.0/pycg/analysis/stub_data/tomllib.json +1 -0
  559. pycg-1.0.0/pycg/analysis/stub_data/trace.json +1 -0
  560. pycg-1.0.0/pycg/analysis/stub_data/traceback.json +1 -0
  561. pycg-1.0.0/pycg/analysis/stub_data/tracemalloc.json +1 -0
  562. pycg-1.0.0/pycg/analysis/stub_data/tty.json +1 -0
  563. pycg-1.0.0/pycg/analysis/stub_data/turtle.json +1 -0
  564. pycg-1.0.0/pycg/analysis/stub_data/types.json +1 -0
  565. pycg-1.0.0/pycg/analysis/stub_data/typing.json +1 -0
  566. pycg-1.0.0/pycg/analysis/stub_data/typing_extensions.json +1 -0
  567. pycg-1.0.0/pycg/analysis/stub_data/unicodedata.json +1 -0
  568. pycg-1.0.0/pycg/analysis/stub_data/unittest.json +1 -0
  569. pycg-1.0.0/pycg/analysis/stub_data/urllib.json +1 -0
  570. pycg-1.0.0/pycg/analysis/stub_data/uu.json +1 -0
  571. pycg-1.0.0/pycg/analysis/stub_data/uuid.json +1 -0
  572. pycg-1.0.0/pycg/analysis/stub_data/venv.json +1 -0
  573. pycg-1.0.0/pycg/analysis/stub_data/warnings.json +1 -0
  574. pycg-1.0.0/pycg/analysis/stub_data/wave.json +1 -0
  575. pycg-1.0.0/pycg/analysis/stub_data/weakref.json +1 -0
  576. pycg-1.0.0/pycg/analysis/stub_data/webbrowser.json +1 -0
  577. pycg-1.0.0/pycg/analysis/stub_data/winreg.json +1 -0
  578. pycg-1.0.0/pycg/analysis/stub_data/winsound.json +1 -0
  579. pycg-1.0.0/pycg/analysis/stub_data/wsgiref.json +1 -0
  580. pycg-1.0.0/pycg/analysis/stub_data/xdrlib.json +1 -0
  581. pycg-1.0.0/pycg/analysis/stub_data/xml.json +1 -0
  582. pycg-1.0.0/pycg/analysis/stub_data/xmlrpc.json +1 -0
  583. pycg-1.0.0/pycg/analysis/stub_data/xxlimited.json +1 -0
  584. pycg-1.0.0/pycg/analysis/stub_data/zipapp.json +1 -0
  585. pycg-1.0.0/pycg/analysis/stub_data/zipfile.json +1 -0
  586. pycg-1.0.0/pycg/analysis/stub_data/zipimport.json +1 -0
  587. pycg-1.0.0/pycg/analysis/stub_data/zlib.json +1 -0
  588. pycg-1.0.0/pycg/analysis/stub_data/zoneinfo.json +1 -0
  589. pycg-1.0.0/pycg/analysis/stubs.py +278 -0
  590. pycg-1.0.0/pycg/formats/__init__.py +42 -0
  591. pycg-1.0.0/pycg/formats/document.py +305 -0
  592. pycg-1.0.0/pycg/pycg.py +56 -0
  593. pycg-1.0.0/pyproject.toml +57 -0
  594. pycg-0.0.8/.github/workflows/linters.yml +0 -59
  595. pycg-0.0.8/.github/workflows/test.yaml +0 -27
  596. pycg-0.0.8/.gitignore +0 -166
  597. pycg-0.0.8/Makefile +0 -10
  598. pycg-0.0.8/PKG-INFO +0 -161
  599. pycg-0.0.8/README.md +0 -143
  600. pycg-0.0.8/micro-benchmark/__init__.py +0 -0
  601. pycg-0.0.8/micro-benchmark/base.py +0 -98
  602. pycg-0.0.8/micro-benchmark/create_pytests.py +0 -42
  603. pycg-0.0.8/micro-benchmark/snippets/args/assigned_call/README.md +0 -1
  604. pycg-0.0.8/micro-benchmark/snippets/args/assigned_call/callgraph.json +0 -9
  605. pycg-0.0.8/micro-benchmark/snippets/args/assigned_call/main.py +0 -8
  606. pycg-0.0.8/micro-benchmark/snippets/args/call/README.md +0 -1
  607. pycg-0.0.8/micro-benchmark/snippets/args/call/callgraph.json +0 -9
  608. pycg-0.0.8/micro-benchmark/snippets/args/call/main.py +0 -7
  609. pycg-0.0.8/micro-benchmark/snippets/args/imported_assigned_call/README.md +0 -1
  610. pycg-0.0.8/micro-benchmark/snippets/args/imported_assigned_call/callgraph.json +0 -10
  611. pycg-0.0.8/micro-benchmark/snippets/args/imported_assigned_call/main.py +0 -7
  612. pycg-0.0.8/micro-benchmark/snippets/args/imported_assigned_call/to_import.py +0 -2
  613. pycg-0.0.8/micro-benchmark/snippets/args/imported_call/README.md +0 -1
  614. pycg-0.0.8/micro-benchmark/snippets/args/imported_call/callgraph.json +0 -10
  615. pycg-0.0.8/micro-benchmark/snippets/args/imported_call/main.py +0 -6
  616. pycg-0.0.8/micro-benchmark/snippets/args/imported_call/to_import.py +0 -2
  617. pycg-0.0.8/micro-benchmark/snippets/args/nested_call/README.md +0 -1
  618. pycg-0.0.8/micro-benchmark/snippets/args/nested_call/callgraph.json +0 -12
  619. pycg-0.0.8/micro-benchmark/snippets/args/nested_call/main.py +0 -12
  620. pycg-0.0.8/micro-benchmark/snippets/args/param_call/README.md +0 -1
  621. pycg-0.0.8/micro-benchmark/snippets/args/param_call/callgraph.json +0 -11
  622. pycg-0.0.8/micro-benchmark/snippets/args/param_call/main.py +0 -10
  623. pycg-0.0.8/micro-benchmark/snippets/assignments/chained/README.md +0 -1
  624. pycg-0.0.8/micro-benchmark/snippets/assignments/chained/callgraph.json +0 -8
  625. pycg-0.0.8/micro-benchmark/snippets/assignments/chained/main.py +0 -13
  626. pycg-0.0.8/micro-benchmark/snippets/assignments/recursive_tuple/README.md +0 -1
  627. pycg-0.0.8/micro-benchmark/snippets/assignments/recursive_tuple/callgraph.json +0 -16
  628. pycg-0.0.8/micro-benchmark/snippets/assignments/recursive_tuple/main.py +0 -31
  629. pycg-0.0.8/micro-benchmark/snippets/assignments/starred/README.md +0 -1
  630. pycg-0.0.8/micro-benchmark/snippets/assignments/starred/callgraph.json +0 -12
  631. pycg-0.0.8/micro-benchmark/snippets/assignments/starred/main.py +0 -18
  632. pycg-0.0.8/micro-benchmark/snippets/assignments/tuple/README.md +0 -1
  633. pycg-0.0.8/micro-benchmark/snippets/assignments/tuple/callgraph.json +0 -10
  634. pycg-0.0.8/micro-benchmark/snippets/assignments/tuple/main.py +0 -18
  635. pycg-0.0.8/micro-benchmark/snippets/builtins/functions/README.md +0 -1
  636. pycg-0.0.8/micro-benchmark/snippets/builtins/functions/callgraph.json +0 -6
  637. pycg-0.0.8/micro-benchmark/snippets/builtins/functions/main.py +0 -2
  638. pycg-0.0.8/micro-benchmark/snippets/builtins/map/README.md +0 -1
  639. pycg-0.0.8/micro-benchmark/snippets/builtins/map/callgraph.json +0 -15
  640. pycg-0.0.8/micro-benchmark/snippets/builtins/map/main.py +0 -19
  641. pycg-0.0.8/micro-benchmark/snippets/builtins/types/README.md +0 -1
  642. pycg-0.0.8/micro-benchmark/snippets/builtins/types/callgraph.json +0 -10
  643. pycg-0.0.8/micro-benchmark/snippets/builtins/types/main.py +0 -7
  644. pycg-0.0.8/micro-benchmark/snippets/classes/assigned_call/README.md +0 -2
  645. pycg-0.0.8/micro-benchmark/snippets/classes/assigned_call/callgraph.json +0 -6
  646. pycg-0.0.8/micro-benchmark/snippets/classes/assigned_call/main.py +0 -7
  647. pycg-0.0.8/micro-benchmark/snippets/classes/assigned_self_call/README.md +0 -3
  648. pycg-0.0.8/micro-benchmark/snippets/classes/assigned_self_call/callgraph.json +0 -9
  649. pycg-0.0.8/micro-benchmark/snippets/classes/assigned_self_call/main.py +0 -10
  650. pycg-0.0.8/micro-benchmark/snippets/classes/base_class_attr/README.md +0 -1
  651. pycg-0.0.8/micro-benchmark/snippets/classes/base_class_attr/callgraph.json +0 -8
  652. pycg-0.0.8/micro-benchmark/snippets/classes/base_class_attr/main.py +0 -12
  653. pycg-0.0.8/micro-benchmark/snippets/classes/base_class_calls_child/README.md +0 -1
  654. pycg-0.0.8/micro-benchmark/snippets/classes/base_class_calls_child/callgraph.json +0 -15
  655. pycg-0.0.8/micro-benchmark/snippets/classes/base_class_calls_child/main.py +0 -23
  656. pycg-0.0.8/micro-benchmark/snippets/classes/call/README.md +0 -1
  657. pycg-0.0.8/micro-benchmark/snippets/classes/call/callgraph.json +0 -6
  658. pycg-0.0.8/micro-benchmark/snippets/classes/call/main.py +0 -6
  659. pycg-0.0.8/micro-benchmark/snippets/classes/direct_call/README.md +0 -2
  660. pycg-0.0.8/micro-benchmark/snippets/classes/direct_call/callgraph.json +0 -8
  661. pycg-0.0.8/micro-benchmark/snippets/classes/direct_call/main.py +0 -8
  662. pycg-0.0.8/micro-benchmark/snippets/classes/imported_attr_access/README.md +0 -1
  663. pycg-0.0.8/micro-benchmark/snippets/classes/imported_attr_access/callgraph.json +0 -7
  664. pycg-0.0.8/micro-benchmark/snippets/classes/imported_attr_access/main.py +0 -3
  665. pycg-0.0.8/micro-benchmark/snippets/classes/imported_attr_access/to_import.py +0 -2
  666. pycg-0.0.8/micro-benchmark/snippets/classes/imported_call/README.md +0 -2
  667. pycg-0.0.8/micro-benchmark/snippets/classes/imported_call/callgraph.json +0 -9
  668. pycg-0.0.8/micro-benchmark/snippets/classes/imported_call/main.py +0 -4
  669. pycg-0.0.8/micro-benchmark/snippets/classes/imported_call/to_import.py +0 -6
  670. pycg-0.0.8/micro-benchmark/snippets/classes/imported_call_without_init/README.md +0 -2
  671. pycg-0.0.8/micro-benchmark/snippets/classes/imported_call_without_init/callgraph.json +0 -7
  672. pycg-0.0.8/micro-benchmark/snippets/classes/imported_call_without_init/main.py +0 -4
  673. pycg-0.0.8/micro-benchmark/snippets/classes/imported_call_without_init/to_import.py +0 -3
  674. pycg-0.0.8/micro-benchmark/snippets/classes/imported_nested_attr_access/README.md +0 -2
  675. pycg-0.0.8/micro-benchmark/snippets/classes/imported_nested_attr_access/callgraph.json +0 -7
  676. pycg-0.0.8/micro-benchmark/snippets/classes/imported_nested_attr_access/main.py +0 -3
  677. pycg-0.0.8/micro-benchmark/snippets/classes/imported_nested_attr_access/nest/imported.py +0 -2
  678. pycg-0.0.8/micro-benchmark/snippets/classes/nested_call/callgraph.json +0 -9
  679. pycg-0.0.8/micro-benchmark/snippets/classes/nested_call/main.py +0 -9
  680. pycg-0.0.8/micro-benchmark/snippets/classes/nested_class_calls/README.md +0 -1
  681. pycg-0.0.8/micro-benchmark/snippets/classes/nested_class_calls/callgraph.json +0 -16
  682. pycg-0.0.8/micro-benchmark/snippets/classes/nested_class_calls/main.py +0 -21
  683. pycg-0.0.8/micro-benchmark/snippets/classes/parameter_call/README.md +0 -1
  684. pycg-0.0.8/micro-benchmark/snippets/classes/parameter_call/callgraph.json +0 -12
  685. pycg-0.0.8/micro-benchmark/snippets/classes/parameter_call/main.py +0 -12
  686. pycg-0.0.8/micro-benchmark/snippets/classes/return_call/README.md +0 -1
  687. pycg-0.0.8/micro-benchmark/snippets/classes/return_call/callgraph.json +0 -8
  688. pycg-0.0.8/micro-benchmark/snippets/classes/return_call/main.py +0 -10
  689. pycg-0.0.8/micro-benchmark/snippets/classes/return_call_direct/README.md +0 -1
  690. pycg-0.0.8/micro-benchmark/snippets/classes/return_call_direct/callgraph.json +0 -8
  691. pycg-0.0.8/micro-benchmark/snippets/classes/return_call_direct/main.py +0 -9
  692. pycg-0.0.8/micro-benchmark/snippets/classes/self_assign_func/README.md +0 -1
  693. pycg-0.0.8/micro-benchmark/snippets/classes/self_assign_func/callgraph.json +0 -11
  694. pycg-0.0.8/micro-benchmark/snippets/classes/self_assign_func/main.py +0 -16
  695. pycg-0.0.8/micro-benchmark/snippets/classes/self_assignment/README.md +0 -1
  696. pycg-0.0.8/micro-benchmark/snippets/classes/self_assignment/callgraph.json +0 -11
  697. pycg-0.0.8/micro-benchmark/snippets/classes/self_assignment/main.py +0 -12
  698. pycg-0.0.8/micro-benchmark/snippets/classes/self_call/README.md +0 -1
  699. pycg-0.0.8/micro-benchmark/snippets/classes/self_call/callgraph.json +0 -13
  700. pycg-0.0.8/micro-benchmark/snippets/classes/self_call/main.py +0 -13
  701. pycg-0.0.8/micro-benchmark/snippets/classes/static_method_call/README.md +0 -1
  702. pycg-0.0.8/micro-benchmark/snippets/classes/static_method_call/callgraph.json +0 -6
  703. pycg-0.0.8/micro-benchmark/snippets/classes/static_method_call/main.py +0 -6
  704. pycg-0.0.8/micro-benchmark/snippets/classes/super_class_return/README.md +0 -1
  705. pycg-0.0.8/micro-benchmark/snippets/classes/super_class_return/callgraph.json +0 -8
  706. pycg-0.0.8/micro-benchmark/snippets/classes/super_class_return/main.py +0 -11
  707. pycg-0.0.8/micro-benchmark/snippets/classes/tuple_assignment/README.md +0 -1
  708. pycg-0.0.8/micro-benchmark/snippets/classes/tuple_assignment/callgraph.json +0 -14
  709. pycg-0.0.8/micro-benchmark/snippets/classes/tuple_assignment/main.py +0 -24
  710. pycg-0.0.8/micro-benchmark/snippets/decorators/assigned/README.md +0 -1
  711. pycg-0.0.8/micro-benchmark/snippets/decorators/assigned/callgraph.json +0 -9
  712. pycg-0.0.8/micro-benchmark/snippets/decorators/assigned/main.py +0 -14
  713. pycg-0.0.8/micro-benchmark/snippets/decorators/call/README.md +0 -1
  714. pycg-0.0.8/micro-benchmark/snippets/decorators/call/callgraph.json +0 -8
  715. pycg-0.0.8/micro-benchmark/snippets/decorators/call/main.py +0 -8
  716. pycg-0.0.8/micro-benchmark/snippets/decorators/nested/README.md +0 -1
  717. pycg-0.0.8/micro-benchmark/snippets/decorators/nested/callgraph.json +0 -11
  718. pycg-0.0.8/micro-benchmark/snippets/decorators/nested/main.py +0 -12
  719. pycg-0.0.8/micro-benchmark/snippets/decorators/nested_decorators/README.md +0 -2
  720. pycg-0.0.8/micro-benchmark/snippets/decorators/nested_decorators/callgraph.json +0 -17
  721. pycg-0.0.8/micro-benchmark/snippets/decorators/nested_decorators/main.py +0 -17
  722. pycg-0.0.8/micro-benchmark/snippets/decorators/param_call/README.md +0 -1
  723. pycg-0.0.8/micro-benchmark/snippets/decorators/param_call/callgraph.json +0 -10
  724. pycg-0.0.8/micro-benchmark/snippets/decorators/param_call/main.py +0 -9
  725. pycg-0.0.8/micro-benchmark/snippets/decorators/return/README.md +0 -1
  726. pycg-0.0.8/micro-benchmark/snippets/decorators/return/callgraph.json +0 -10
  727. pycg-0.0.8/micro-benchmark/snippets/decorators/return/main.py +0 -11
  728. pycg-0.0.8/micro-benchmark/snippets/decorators/return_different_func/README.md +0 -4
  729. pycg-0.0.8/micro-benchmark/snippets/decorators/return_different_func/callgraph.json +0 -14
  730. pycg-0.0.8/micro-benchmark/snippets/decorators/return_different_func/main.py +0 -14
  731. pycg-0.0.8/micro-benchmark/snippets/dicts/add_key/README.md +0 -1
  732. pycg-0.0.8/micro-benchmark/snippets/dicts/add_key/callgraph.json +0 -6
  733. pycg-0.0.8/micro-benchmark/snippets/dicts/add_key/main.py +0 -7
  734. pycg-0.0.8/micro-benchmark/snippets/dicts/assign/README.md +0 -1
  735. pycg-0.0.8/micro-benchmark/snippets/dicts/assign/callgraph.json +0 -7
  736. pycg-0.0.8/micro-benchmark/snippets/dicts/assign/main.py +0 -13
  737. pycg-0.0.8/micro-benchmark/snippets/dicts/call/README.md +0 -1
  738. pycg-0.0.8/micro-benchmark/snippets/dicts/call/callgraph.json +0 -8
  739. pycg-0.0.8/micro-benchmark/snippets/dicts/call/main.py +0 -14
  740. pycg-0.0.8/micro-benchmark/snippets/dicts/ext_key/README.md +0 -2
  741. pycg-0.0.8/micro-benchmark/snippets/dicts/ext_key/callgraph.json +0 -7
  742. pycg-0.0.8/micro-benchmark/snippets/dicts/ext_key/ext.py +0 -1
  743. pycg-0.0.8/micro-benchmark/snippets/dicts/ext_key/main.py +0 -8
  744. pycg-0.0.8/micro-benchmark/snippets/dicts/nested/README.md +0 -1
  745. pycg-0.0.8/micro-benchmark/snippets/dicts/nested/callgraph.json +0 -7
  746. pycg-0.0.8/micro-benchmark/snippets/dicts/nested/main.py +0 -15
  747. pycg-0.0.8/micro-benchmark/snippets/dicts/new_key_param/README.md +0 -1
  748. pycg-0.0.8/micro-benchmark/snippets/dicts/new_key_param/callgraph.json +0 -8
  749. pycg-0.0.8/micro-benchmark/snippets/dicts/new_key_param/main.py +0 -10
  750. pycg-0.0.8/micro-benchmark/snippets/dicts/param/README.md +0 -1
  751. pycg-0.0.8/micro-benchmark/snippets/dicts/param/callgraph.json +0 -9
  752. pycg-0.0.8/micro-benchmark/snippets/dicts/param/main.py +0 -9
  753. pycg-0.0.8/micro-benchmark/snippets/dicts/param_key/README.md +0 -1
  754. pycg-0.0.8/micro-benchmark/snippets/dicts/param_key/callgraph.json +0 -11
  755. pycg-0.0.8/micro-benchmark/snippets/dicts/param_key/main.py +0 -16
  756. pycg-0.0.8/micro-benchmark/snippets/dicts/return/README.md +0 -1
  757. pycg-0.0.8/micro-benchmark/snippets/dicts/return/callgraph.json +0 -8
  758. pycg-0.0.8/micro-benchmark/snippets/dicts/return/main.py +0 -9
  759. pycg-0.0.8/micro-benchmark/snippets/dicts/return_assign/README.md +0 -1
  760. pycg-0.0.8/micro-benchmark/snippets/dicts/return_assign/callgraph.json +0 -8
  761. pycg-0.0.8/micro-benchmark/snippets/dicts/return_assign/main.py +0 -9
  762. pycg-0.0.8/micro-benchmark/snippets/dicts/type_coercion/README.md +0 -1
  763. pycg-0.0.8/micro-benchmark/snippets/dicts/type_coercion/callgraph.json +0 -7
  764. pycg-0.0.8/micro-benchmark/snippets/dicts/type_coercion/main.py +0 -9
  765. pycg-0.0.8/micro-benchmark/snippets/dicts/update/README.md +0 -1
  766. pycg-0.0.8/micro-benchmark/snippets/dicts/update/callgraph.json +0 -7
  767. pycg-0.0.8/micro-benchmark/snippets/dicts/update/main.py +0 -10
  768. pycg-0.0.8/micro-benchmark/snippets/direct_calls/assigned_call/README.md +0 -1
  769. pycg-0.0.8/micro-benchmark/snippets/direct_calls/assigned_call/callgraph.json +0 -8
  770. pycg-0.0.8/micro-benchmark/snippets/direct_calls/assigned_call/main.py +0 -9
  771. pycg-0.0.8/micro-benchmark/snippets/direct_calls/imported_return_call/README.md +0 -1
  772. pycg-0.0.8/micro-benchmark/snippets/direct_calls/imported_return_call/callgraph.json +0 -9
  773. pycg-0.0.8/micro-benchmark/snippets/direct_calls/imported_return_call/main.py +0 -3
  774. pycg-0.0.8/micro-benchmark/snippets/direct_calls/imported_return_call/to_import.py +0 -5
  775. pycg-0.0.8/micro-benchmark/snippets/direct_calls/return_call/README.md +0 -1
  776. pycg-0.0.8/micro-benchmark/snippets/direct_calls/return_call/callgraph.json +0 -10
  777. pycg-0.0.8/micro-benchmark/snippets/direct_calls/return_call/main.py +0 -10
  778. pycg-0.0.8/micro-benchmark/snippets/direct_calls/with_parameters/README.md +0 -2
  779. pycg-0.0.8/micro-benchmark/snippets/direct_calls/with_parameters/callgraph.json +0 -10
  780. pycg-0.0.8/micro-benchmark/snippets/direct_calls/with_parameters/main.py +0 -10
  781. pycg-0.0.8/micro-benchmark/snippets/dynamic/eval/README.md +0 -1
  782. pycg-0.0.8/micro-benchmark/snippets/dynamic/eval/callgraph.json +0 -9
  783. pycg-0.0.8/micro-benchmark/snippets/dynamic/eval/main.py +0 -4
  784. pycg-0.0.8/micro-benchmark/snippets/exceptions/raise/README.md +0 -1
  785. pycg-0.0.8/micro-benchmark/snippets/exceptions/raise/callgraph.json +0 -6
  786. pycg-0.0.8/micro-benchmark/snippets/exceptions/raise/main.py +0 -5
  787. pycg-0.0.8/micro-benchmark/snippets/exceptions/raise_assigned/README.md +0 -1
  788. pycg-0.0.8/micro-benchmark/snippets/exceptions/raise_assigned/callgraph.json +0 -6
  789. pycg-0.0.8/micro-benchmark/snippets/exceptions/raise_assigned/main.py +0 -6
  790. pycg-0.0.8/micro-benchmark/snippets/exceptions/raise_attr/README.md +0 -1
  791. pycg-0.0.8/micro-benchmark/snippets/exceptions/raise_attr/callgraph.json +0 -6
  792. pycg-0.0.8/micro-benchmark/snippets/exceptions/raise_attr/main.py +0 -6
  793. pycg-0.0.8/micro-benchmark/snippets/external/attribute/README.md +0 -1
  794. pycg-0.0.8/micro-benchmark/snippets/external/attribute/callgraph.json +0 -8
  795. pycg-0.0.8/micro-benchmark/snippets/external/attribute/main.py +0 -4
  796. pycg-0.0.8/micro-benchmark/snippets/external/attribute_assigned/README.md +0 -1
  797. pycg-0.0.8/micro-benchmark/snippets/external/attribute_assigned/callgraph.json +0 -11
  798. pycg-0.0.8/micro-benchmark/snippets/external/attribute_assigned/main.py +0 -8
  799. pycg-0.0.8/micro-benchmark/snippets/external/cls_parent/README.md +0 -1
  800. pycg-0.0.8/micro-benchmark/snippets/external/cls_parent/callgraph.json +0 -11
  801. pycg-0.0.8/micro-benchmark/snippets/external/cls_parent/main.py +0 -8
  802. pycg-0.0.8/micro-benchmark/snippets/external/function/README.md +0 -1
  803. pycg-0.0.8/micro-benchmark/snippets/external/function/callgraph.json +0 -6
  804. pycg-0.0.8/micro-benchmark/snippets/external/function/main.py +0 -3
  805. pycg-0.0.8/micro-benchmark/snippets/external/function_asname/README.md +0 -1
  806. pycg-0.0.8/micro-benchmark/snippets/external/function_asname/callgraph.json +0 -6
  807. pycg-0.0.8/micro-benchmark/snippets/external/function_asname/main.py +0 -3
  808. pycg-0.0.8/micro-benchmark/snippets/external/function_assigned/README.md +0 -1
  809. pycg-0.0.8/micro-benchmark/snippets/external/function_assigned/callgraph.json +0 -6
  810. pycg-0.0.8/micro-benchmark/snippets/external/function_assigned/main.py +0 -5
  811. pycg-0.0.8/micro-benchmark/snippets/functions/assigned_call/README.md +0 -1
  812. pycg-0.0.8/micro-benchmark/snippets/functions/assigned_call/callgraph.json +0 -6
  813. pycg-0.0.8/micro-benchmark/snippets/functions/assigned_call/main.py +0 -5
  814. pycg-0.0.8/micro-benchmark/snippets/functions/assigned_call_lit_param/README.md +0 -1
  815. pycg-0.0.8/micro-benchmark/snippets/functions/assigned_call_lit_param/callgraph.json +0 -6
  816. pycg-0.0.8/micro-benchmark/snippets/functions/assigned_call_lit_param/main.py +0 -6
  817. pycg-0.0.8/micro-benchmark/snippets/functions/call/README.md +0 -1
  818. pycg-0.0.8/micro-benchmark/snippets/functions/call/callgraph.json +0 -6
  819. pycg-0.0.8/micro-benchmark/snippets/functions/call/main.py +0 -4
  820. pycg-0.0.8/micro-benchmark/snippets/functions/imported_call/README.md +0 -1
  821. pycg-0.0.8/micro-benchmark/snippets/functions/imported_call/callgraph.json +0 -7
  822. pycg-0.0.8/micro-benchmark/snippets/functions/imported_call/main.py +0 -4
  823. pycg-0.0.8/micro-benchmark/snippets/functions/imported_call/to_import.py +0 -2
  824. pycg-0.0.8/micro-benchmark/snippets/generators/iter_param/README.md +0 -1
  825. pycg-0.0.8/micro-benchmark/snippets/generators/iter_param/callgraph.json +0 -13
  826. pycg-0.0.8/micro-benchmark/snippets/generators/iter_param/main.py +0 -21
  827. pycg-0.0.8/micro-benchmark/snippets/generators/iter_return/README.md +0 -1
  828. pycg-0.0.8/micro-benchmark/snippets/generators/iter_return/callgraph.json +0 -12
  829. pycg-0.0.8/micro-benchmark/snippets/generators/iter_return/main.py +0 -21
  830. pycg-0.0.8/micro-benchmark/snippets/generators/iterable/README.md +0 -1
  831. pycg-0.0.8/micro-benchmark/snippets/generators/iterable/callgraph.json +0 -13
  832. pycg-0.0.8/micro-benchmark/snippets/generators/iterable/main.py +0 -17
  833. pycg-0.0.8/micro-benchmark/snippets/generators/iterable_assigned/README.md +0 -1
  834. pycg-0.0.8/micro-benchmark/snippets/generators/iterable_assigned/callgraph.json +0 -10
  835. pycg-0.0.8/micro-benchmark/snippets/generators/iterable_assigned/main.py +0 -20
  836. pycg-0.0.8/micro-benchmark/snippets/generators/no_iter/README.md +0 -1
  837. pycg-0.0.8/micro-benchmark/snippets/generators/no_iter/callgraph.json +0 -8
  838. pycg-0.0.8/micro-benchmark/snippets/generators/no_iter/main.py +0 -17
  839. pycg-0.0.8/micro-benchmark/snippets/generators/yield/README.md +0 -1
  840. pycg-0.0.8/micro-benchmark/snippets/generators/yield/callgraph.json +0 -8
  841. pycg-0.0.8/micro-benchmark/snippets/generators/yield/main.py +0 -11
  842. pycg-0.0.8/micro-benchmark/snippets/imports/chained_import/README.md +0 -2
  843. pycg-0.0.8/micro-benchmark/snippets/imports/chained_import/callgraph.json +0 -11
  844. pycg-0.0.8/micro-benchmark/snippets/imports/chained_import/chained_import.py +0 -2
  845. pycg-0.0.8/micro-benchmark/snippets/imports/chained_import/from_import.py +0 -4
  846. pycg-0.0.8/micro-benchmark/snippets/imports/chained_import/main.py +0 -3
  847. pycg-0.0.8/micro-benchmark/snippets/imports/import_all/README.md +0 -1
  848. pycg-0.0.8/micro-benchmark/snippets/imports/import_all/callgraph.json +0 -9
  849. pycg-0.0.8/micro-benchmark/snippets/imports/import_all/from_module.py +0 -5
  850. pycg-0.0.8/micro-benchmark/snippets/imports/import_all/main.py +0 -4
  851. pycg-0.0.8/micro-benchmark/snippets/imports/import_as/README.md +0 -1
  852. pycg-0.0.8/micro-benchmark/snippets/imports/import_as/callgraph.json +0 -6
  853. pycg-0.0.8/micro-benchmark/snippets/imports/import_as/main.py +0 -4
  854. pycg-0.0.8/micro-benchmark/snippets/imports/import_as/to_import.py +0 -2
  855. pycg-0.0.8/micro-benchmark/snippets/imports/import_from/README.md +0 -1
  856. pycg-0.0.8/micro-benchmark/snippets/imports/import_from/callgraph.json +0 -7
  857. pycg-0.0.8/micro-benchmark/snippets/imports/import_from/from_module.py +0 -2
  858. pycg-0.0.8/micro-benchmark/snippets/imports/import_from/main.py +0 -3
  859. pycg-0.0.8/micro-benchmark/snippets/imports/init_func_import/README.md +0 -1
  860. pycg-0.0.8/micro-benchmark/snippets/imports/init_func_import/callgraph.json +0 -10
  861. pycg-0.0.8/micro-benchmark/snippets/imports/init_func_import/main.py +0 -4
  862. pycg-0.0.8/micro-benchmark/snippets/imports/init_func_import/nested/__init__.py +0 -4
  863. pycg-0.0.8/micro-benchmark/snippets/imports/init_func_import/nested/mod.py +0 -2
  864. pycg-0.0.8/micro-benchmark/snippets/imports/init_import/README.md +0 -2
  865. pycg-0.0.8/micro-benchmark/snippets/imports/init_import/callgraph.json +0 -8
  866. pycg-0.0.8/micro-benchmark/snippets/imports/init_import/main.py +0 -3
  867. pycg-0.0.8/micro-benchmark/snippets/imports/init_import/nested/__init__.py +0 -1
  868. pycg-0.0.8/micro-benchmark/snippets/imports/init_import/nested/nested.py +0 -5
  869. pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/README.md +0 -1
  870. pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/__init__.py +0 -0
  871. pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/callgraph.json +0 -9
  872. pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/main.py +0 -4
  873. pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/nested/__init__.py +0 -0
  874. pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/nested/to_import.py +0 -4
  875. pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/to_import2.py +0 -2
  876. pycg-0.0.8/micro-benchmark/snippets/imports/relative_import/README.md +0 -2
  877. pycg-0.0.8/micro-benchmark/snippets/imports/relative_import/__init__.py +0 -0
  878. pycg-0.0.8/micro-benchmark/snippets/imports/relative_import/callgraph.json +0 -6
  879. pycg-0.0.8/micro-benchmark/snippets/imports/relative_import/main.py +0 -4
  880. pycg-0.0.8/micro-benchmark/snippets/imports/relative_import/to_import.py +0 -2
  881. pycg-0.0.8/micro-benchmark/snippets/imports/relative_import_with_name/README.md +0 -1
  882. pycg-0.0.8/micro-benchmark/snippets/imports/relative_import_with_name/__init__.py +0 -0
  883. pycg-0.0.8/micro-benchmark/snippets/imports/relative_import_with_name/callgraph.json +0 -12
  884. pycg-0.0.8/micro-benchmark/snippets/imports/relative_import_with_name/main.py +0 -3
  885. pycg-0.0.8/micro-benchmark/snippets/imports/relative_import_with_name/nested/__init__.py +0 -0
  886. pycg-0.0.8/micro-benchmark/snippets/imports/relative_import_with_name/nested/relative.py +0 -2
  887. pycg-0.0.8/micro-benchmark/snippets/imports/relative_import_with_name/nested/to_import.py +0 -4
  888. pycg-0.0.8/micro-benchmark/snippets/imports/simple_import/README.md +0 -1
  889. pycg-0.0.8/micro-benchmark/snippets/imports/simple_import/callgraph.json +0 -6
  890. pycg-0.0.8/micro-benchmark/snippets/imports/simple_import/main.py +0 -4
  891. pycg-0.0.8/micro-benchmark/snippets/imports/simple_import/to_import.py +0 -2
  892. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import/README.md +0 -3
  893. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import/callgraph.json +0 -8
  894. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import/main.py +0 -4
  895. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import/to_import/__init__.py +0 -2
  896. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import/to_import/to_import.py +0 -2
  897. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_all/README.md +0 -1
  898. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_all/callgraph.json +0 -10
  899. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_all/from_module/__init__.py +0 -0
  900. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_all/from_module/nested_module.py +0 -5
  901. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_all/main.py +0 -4
  902. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_as/README.md +0 -1
  903. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_as/callgraph.json +0 -8
  904. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_as/main.py +0 -4
  905. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_as/to_import/__init__.py +0 -2
  906. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_as/to_import/to_import.py +0 -2
  907. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_from/README.md +0 -1
  908. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_from/callgraph.json +0 -10
  909. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_from/from_module/__init__.py +0 -0
  910. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_from/from_module/nested_module.py +0 -5
  911. pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_from/main.py +0 -4
  912. pycg-0.0.8/micro-benchmark/snippets/kwargs/assigned_call/README.md +0 -1
  913. pycg-0.0.8/micro-benchmark/snippets/kwargs/assigned_call/callgraph.json +0 -9
  914. pycg-0.0.8/micro-benchmark/snippets/kwargs/assigned_call/main.py +0 -9
  915. pycg-0.0.8/micro-benchmark/snippets/kwargs/call/README.md +0 -1
  916. pycg-0.0.8/micro-benchmark/snippets/kwargs/call/callgraph.json +0 -13
  917. pycg-0.0.8/micro-benchmark/snippets/kwargs/call/main.py +0 -15
  918. pycg-0.0.8/micro-benchmark/snippets/kwargs/chained_call/README.md +0 -3
  919. pycg-0.0.8/micro-benchmark/snippets/kwargs/chained_call/callgraph.json +0 -13
  920. pycg-0.0.8/micro-benchmark/snippets/kwargs/chained_call/main.py +0 -10
  921. pycg-0.0.8/micro-benchmark/snippets/lambdas/call/README.md +0 -1
  922. pycg-0.0.8/micro-benchmark/snippets/lambdas/call/callgraph.json +0 -6
  923. pycg-0.0.8/micro-benchmark/snippets/lambdas/call/main.py +0 -3
  924. pycg-0.0.8/micro-benchmark/snippets/lambdas/calls_parameter/README.md +0 -1
  925. pycg-0.0.8/micro-benchmark/snippets/lambdas/calls_parameter/callgraph.json +0 -11
  926. pycg-0.0.8/micro-benchmark/snippets/lambdas/calls_parameter/main.py +0 -10
  927. pycg-0.0.8/micro-benchmark/snippets/lambdas/chained_calls/README.md +0 -1
  928. pycg-0.0.8/micro-benchmark/snippets/lambdas/chained_calls/callgraph.json +0 -19
  929. pycg-0.0.8/micro-benchmark/snippets/lambdas/chained_calls/main.py +0 -12
  930. pycg-0.0.8/micro-benchmark/snippets/lambdas/parameter_call/README.md +0 -1
  931. pycg-0.0.8/micro-benchmark/snippets/lambdas/parameter_call/callgraph.json +0 -9
  932. pycg-0.0.8/micro-benchmark/snippets/lambdas/parameter_call/main.py +0 -6
  933. pycg-0.0.8/micro-benchmark/snippets/lambdas/return_call/README.md +0 -1
  934. pycg-0.0.8/micro-benchmark/snippets/lambdas/return_call/callgraph.json +0 -8
  935. pycg-0.0.8/micro-benchmark/snippets/lambdas/return_call/main.py +0 -5
  936. pycg-0.0.8/micro-benchmark/snippets/lists/comprehension_if/README.md +0 -1
  937. pycg-0.0.8/micro-benchmark/snippets/lists/comprehension_if/callgraph.json +0 -8
  938. pycg-0.0.8/micro-benchmark/snippets/lists/comprehension_if/main.py +0 -4
  939. pycg-0.0.8/micro-benchmark/snippets/lists/comprehension_val/README.md +0 -1
  940. pycg-0.0.8/micro-benchmark/snippets/lists/comprehension_val/callgraph.json +0 -8
  941. pycg-0.0.8/micro-benchmark/snippets/lists/comprehension_val/main.py +0 -4
  942. pycg-0.0.8/micro-benchmark/snippets/lists/ext_index/README.md +0 -1
  943. pycg-0.0.8/micro-benchmark/snippets/lists/ext_index/callgraph.json +0 -8
  944. pycg-0.0.8/micro-benchmark/snippets/lists/ext_index/ext.py +0 -1
  945. pycg-0.0.8/micro-benchmark/snippets/lists/ext_index/main.py +0 -11
  946. pycg-0.0.8/micro-benchmark/snippets/lists/nested/README.md +0 -1
  947. pycg-0.0.8/micro-benchmark/snippets/lists/nested/callgraph.json +0 -7
  948. pycg-0.0.8/micro-benchmark/snippets/lists/nested/main.py +0 -9
  949. pycg-0.0.8/micro-benchmark/snippets/lists/nested_comprehension/README.md +0 -1
  950. pycg-0.0.8/micro-benchmark/snippets/lists/nested_comprehension/callgraph.json +0 -10
  951. pycg-0.0.8/micro-benchmark/snippets/lists/nested_comprehension/main.py +0 -7
  952. pycg-0.0.8/micro-benchmark/snippets/lists/param_index/README.md +0 -1
  953. pycg-0.0.8/micro-benchmark/snippets/lists/param_index/callgraph.json +0 -9
  954. pycg-0.0.8/micro-benchmark/snippets/lists/param_index/main.py +0 -9
  955. pycg-0.0.8/micro-benchmark/snippets/lists/simple/README.md +0 -1
  956. pycg-0.0.8/micro-benchmark/snippets/lists/simple/callgraph.json +0 -12
  957. pycg-0.0.8/micro-benchmark/snippets/lists/simple/main.py +0 -22
  958. pycg-0.0.8/micro-benchmark/snippets/lists/slice/README.md +0 -1
  959. pycg-0.0.8/micro-benchmark/snippets/lists/slice/callgraph.json +0 -8
  960. pycg-0.0.8/micro-benchmark/snippets/lists/slice/main.py +0 -14
  961. pycg-0.0.8/micro-benchmark/snippets/mro/basic/README.md +0 -1
  962. pycg-0.0.8/micro-benchmark/snippets/mro/basic/callgraph.json +0 -6
  963. pycg-0.0.8/micro-benchmark/snippets/mro/basic/main.py +0 -9
  964. pycg-0.0.8/micro-benchmark/snippets/mro/basic_init/README.md +0 -2
  965. pycg-0.0.8/micro-benchmark/snippets/mro/basic_init/callgraph.json +0 -8
  966. pycg-0.0.8/micro-benchmark/snippets/mro/basic_init/main.py +0 -10
  967. pycg-0.0.8/micro-benchmark/snippets/mro/parents_same_superclass/README.md +0 -12
  968. pycg-0.0.8/micro-benchmark/snippets/mro/parents_same_superclass/callgraph.json +0 -9
  969. pycg-0.0.8/micro-benchmark/snippets/mro/parents_same_superclass/main.py +0 -19
  970. pycg-0.0.8/micro-benchmark/snippets/mro/self_assignment/README.md +0 -1
  971. pycg-0.0.8/micro-benchmark/snippets/mro/self_assignment/callgraph.json +0 -12
  972. pycg-0.0.8/micro-benchmark/snippets/mro/self_assignment/main.py +0 -20
  973. pycg-0.0.8/micro-benchmark/snippets/mro/super_call/README.md +0 -1
  974. pycg-0.0.8/micro-benchmark/snippets/mro/super_call/callgraph.json +0 -15
  975. pycg-0.0.8/micro-benchmark/snippets/mro/super_call/main.py +0 -13
  976. pycg-0.0.8/micro-benchmark/snippets/mro/two_parents/README.md +0 -2
  977. pycg-0.0.8/micro-benchmark/snippets/mro/two_parents/callgraph.json +0 -9
  978. pycg-0.0.8/micro-benchmark/snippets/mro/two_parents/main.py +0 -16
  979. pycg-0.0.8/micro-benchmark/snippets/mro/two_parents_method_defined/README.md +0 -2
  980. pycg-0.0.8/micro-benchmark/snippets/mro/two_parents_method_defined/callgraph.json +0 -10
  981. pycg-0.0.8/micro-benchmark/snippets/mro/two_parents_method_defined/main.py +0 -17
  982. pycg-0.0.8/micro-benchmark/snippets/returns/call/README.md +0 -1
  983. pycg-0.0.8/micro-benchmark/snippets/returns/call/callgraph.json +0 -8
  984. pycg-0.0.8/micro-benchmark/snippets/returns/call/main.py +0 -8
  985. pycg-0.0.8/micro-benchmark/snippets/returns/imported_call/README.md +0 -1
  986. pycg-0.0.8/micro-benchmark/snippets/returns/imported_call/callgraph.json +0 -9
  987. pycg-0.0.8/micro-benchmark/snippets/returns/imported_call/main.py +0 -4
  988. pycg-0.0.8/micro-benchmark/snippets/returns/imported_call/to_import.py +0 -5
  989. pycg-0.0.8/micro-benchmark/snippets/returns/nested_import_call/README.md +0 -1
  990. pycg-0.0.8/micro-benchmark/snippets/returns/nested_import_call/callgraph.json +0 -10
  991. pycg-0.0.8/micro-benchmark/snippets/returns/nested_import_call/main.py +0 -4
  992. pycg-0.0.8/micro-benchmark/snippets/returns/nested_import_call/to_import.py +0 -4
  993. pycg-0.0.8/micro-benchmark/snippets/returns/nested_import_call/to_import2.py +0 -2
  994. pycg-0.0.8/micro-benchmark/snippets/returns/return_complex/README.md +0 -1
  995. pycg-0.0.8/micro-benchmark/snippets/returns/return_complex/callgraph.json +0 -17
  996. pycg-0.0.8/micro-benchmark/snippets/returns/return_complex/main.py +0 -21
  997. pycg-0.0.8/micro-benchmark-key-errs/base.py +0 -81
  998. pycg-0.0.8/micro-benchmark-key-errs/create_pytests.py +0 -42
  999. pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/chained/README.md +0 -1
  1000. pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/chained/key_errs.json +0 -14
  1001. pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/chained/main.py +0 -6
  1002. pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/recursive_tuple/README.md +0 -1
  1003. pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/recursive_tuple/key_errs.json +0 -8
  1004. pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/recursive_tuple/main.py +0 -7
  1005. pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/starred/README.md +0 -1
  1006. pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/starred/key_errs.json +0 -14
  1007. pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/starred/main.py +0 -8
  1008. pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/assigned_str/README.md +0 -2
  1009. pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/assigned_str/key_errs.json +0 -8
  1010. pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/assigned_str/main.py +0 -7
  1011. pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/base_class_const/README.md +0 -1
  1012. pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/base_class_const/key_errs.json +0 -8
  1013. pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/base_class_const/main.py +0 -11
  1014. pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/return_str/README.md +0 -2
  1015. pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/return_str/key_errs.json +0 -8
  1016. pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/return_str/main.py +0 -8
  1017. pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_assignment/README.md +0 -2
  1018. pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_assignment/key_errs.json +0 -8
  1019. pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_assignment/main.py +0 -8
  1020. pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_const/README.md +0 -1
  1021. pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_const/key_errs.json +0 -8
  1022. pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_const/main.py +0 -9
  1023. pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_dict/README.md +0 -1
  1024. pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_dict/key_errs.json +0 -8
  1025. pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_dict/main.py +0 -7
  1026. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/add_key/README.md +0 -1
  1027. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/add_key/key_errs.json +0 -8
  1028. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/add_key/main.py +0 -5
  1029. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/ext_key/README.md +0 -1
  1030. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/ext_key/ext.py +0 -1
  1031. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/ext_key/key_errs.json +0 -8
  1032. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/ext_key/main.py +0 -4
  1033. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/mutable_param/README.md +0 -2
  1034. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/mutable_param/key_errs.json +0 -8
  1035. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/mutable_param/main.py +0 -7
  1036. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/nested/README.md +0 -1
  1037. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/nested/key_errs.json +0 -14
  1038. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/nested/main.py +0 -9
  1039. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/return/README.md +0 -1
  1040. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/return/key_errs.json +0 -8
  1041. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/return/main.py +0 -6
  1042. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/return_direct/README.md +0 -1
  1043. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/return_direct/key_errs.json +0 -8
  1044. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/return_direct/main.py +0 -5
  1045. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/simple/README.md +0 -1
  1046. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/simple/key_errs.json +0 -8
  1047. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/simple/main.py +0 -3
  1048. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/type_coercion/README.md +0 -1
  1049. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/type_coercion/key_errs.json +0 -8
  1050. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/type_coercion/main.py +0 -3
  1051. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/update/README.md +0 -1
  1052. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/update/key_errs.json +0 -1
  1053. pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/update/main.py +0 -3
  1054. pycg-0.0.8/micro-benchmark-key-errs/snippets/kwargs/assigned_call/README.md +0 -2
  1055. pycg-0.0.8/micro-benchmark-key-errs/snippets/kwargs/assigned_call/key_errs.json +0 -8
  1056. pycg-0.0.8/micro-benchmark-key-errs/snippets/kwargs/assigned_call/main.py +0 -8
  1057. pycg-0.0.8/micro-benchmark-key-errs/snippets/kwargs/call/README.md +0 -2
  1058. pycg-0.0.8/micro-benchmark-key-errs/snippets/kwargs/call/key_errs.json +0 -8
  1059. pycg-0.0.8/micro-benchmark-key-errs/snippets/kwargs/call/main.py +0 -7
  1060. pycg-0.0.8/micro-benchmark-key-errs/snippets/lists/comprehension/README.md +0 -1
  1061. pycg-0.0.8/micro-benchmark-key-errs/snippets/lists/comprehension/key_errs.json +0 -8
  1062. pycg-0.0.8/micro-benchmark-key-errs/snippets/lists/comprehension/main.py +0 -3
  1063. pycg-0.0.8/micro-benchmark-key-errs/snippets/lists/list_str/README.md +0 -1
  1064. pycg-0.0.8/micro-benchmark-key-errs/snippets/lists/list_str/key_errs.json +0 -8
  1065. pycg-0.0.8/micro-benchmark-key-errs/snippets/lists/list_str/main.py +0 -5
  1066. pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/assigned_call/README.md +0 -2
  1067. pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/assigned_call/key_errs.json +0 -8
  1068. pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/assigned_call/main.py +0 -8
  1069. pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/call/README.md +0 -2
  1070. pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/call/key_errs.json +0 -8
  1071. pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/call/main.py +0 -7
  1072. pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/imported_assigned_call/README.md +0 -1
  1073. pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/imported_assigned_call/key_errs.json +0 -8
  1074. pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/imported_assigned_call/main.py +0 -11
  1075. pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/imported_assigned_call/to_import.py +0 -2
  1076. pycg-0.0.8/pycg/__init__.py +0 -0
  1077. pycg-0.0.8/pycg/__main__.py +0 -89
  1078. pycg-0.0.8/pycg/formats/__init__.py +0 -23
  1079. pycg-0.0.8/pycg/formats/as_graph.py +0 -33
  1080. pycg-0.0.8/pycg/formats/base.py +0 -23
  1081. pycg-0.0.8/pycg/formats/fasten.py +0 -273
  1082. pycg-0.0.8/pycg/formats/simple.py +0 -33
  1083. pycg-0.0.8/pycg/machinery/__init__.py +0 -0
  1084. pycg-0.0.8/pycg/machinery/callgraph.py +0 -59
  1085. pycg-0.0.8/pycg/machinery/classes.py +0 -78
  1086. pycg-0.0.8/pycg/machinery/definitions.py +0 -230
  1087. pycg-0.0.8/pycg/machinery/imports.py +0 -235
  1088. pycg-0.0.8/pycg/machinery/key_err.py +0 -31
  1089. pycg-0.0.8/pycg/machinery/modules.py +0 -64
  1090. pycg-0.0.8/pycg/machinery/pointers.py +0 -149
  1091. pycg-0.0.8/pycg/machinery/scopes.py +0 -154
  1092. pycg-0.0.8/pycg/processing/__init__.py +0 -0
  1093. pycg-0.0.8/pycg/processing/base.py +0 -547
  1094. pycg-0.0.8/pycg/processing/cgprocessor.py +0 -252
  1095. pycg-0.0.8/pycg/processing/keyerrprocessor.py +0 -101
  1096. pycg-0.0.8/pycg/processing/postprocessor.py +0 -342
  1097. pycg-0.0.8/pycg/processing/preprocessor.py +0 -424
  1098. pycg-0.0.8/pycg/pycg.py +0 -263
  1099. pycg-0.0.8/pycg/tests/base.py +0 -25
  1100. pycg-0.0.8/pycg/tests/callgraph_test.py +0 -87
  1101. pycg-0.0.8/pycg/tests/definitions_test.py +0 -90
  1102. pycg-0.0.8/pycg/tests/fasten_format_test.py +0 -319
  1103. pycg-0.0.8/pycg/tests/imports_test.py +0 -189
  1104. pycg-0.0.8/pycg/tests/pointers_test.py +0 -112
  1105. pycg-0.0.8/pycg/tests/scopes_test.py +0 -217
  1106. pycg-0.0.8/pycg/utils/__init__.py +0 -22
  1107. pycg-0.0.8/pycg/utils/common.py +0 -45
  1108. pycg-0.0.8/pycg/utils/constants.py +0 -42
  1109. pycg-0.0.8/pyproject.toml +0 -61
  1110. pycg-0.0.8/requirements-dev.txt +0 -4
  1111. pycg-0.0.8/setup.cfg +0 -2
  1112. pycg-0.0.8/setup.py +0 -61
  1113. pycg-0.0.8/setup_devenv.sh +0 -148
  1114. {pycg-0.0.8 → pycg-1.0.0}/LICENCE +0 -0
  1115. {pycg-0.0.8/micro-benchmark-key-errs → pycg-1.0.0/pycg/analysis}/__init__.py +0 -0
pycg-1.0.0/.gitignore ADDED
@@ -0,0 +1,29 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *.egg-info/
5
+ build/
6
+ dist/
7
+ .venv
8
+ .pytest_cache/
9
+ .hypothesis/
10
+ .coverage
11
+ *.log
12
+ *.sw*
13
+
14
+ # Local worktrees
15
+ .worktrees/
16
+
17
+ # The sources of the macro-benchmark, copied out of the inputs image
18
+ /evaluation/macro-benchmark/projects/
19
+ # The sources of the scale set, copied out of the inputs image
20
+ /evaluation/scale/projects/
21
+ # A new trace of a project (the committed traces are in
22
+ # evaluation/macro-benchmark/dynamic/)
23
+ /evaluation/results/
24
+ # The build logs of the wheels built from pinned sdists
25
+ # (evaluation/macro-benchmark/wheels/README.md)
26
+ !/evaluation/macro-benchmark/wheels/*.build.log
27
+
28
+ # Rust build output
29
+ target/
pycg-1.0.0/PKG-INFO ADDED
@@ -0,0 +1,169 @@
1
+ Metadata-Version: 2.5
2
+ Name: pycg
3
+ Version: 1.0.0
4
+ Summary: Practical Python Call Graphs
5
+ Project-URL: Homepage, https://github.com/vitsalis/PyCG
6
+ Project-URL: Bug Tracker, https://github.com/vitsalis/PyCG/issues
7
+ Author-email: Vitalis Salis <vitsalis@gmail.com>
8
+ License-Expression: Apache-2.0
9
+ License-File: LICENCE
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: 3 :: Only
12
+ Requires-Python: >=3.12
13
+ Description-Content-Type: text/markdown
14
+
15
+ # PyCG - Practical Python Call Graphs
16
+
17
+ > This is the final release of the Python engine; PyCG continues as a Rust tool.
18
+ > See the [repository](https://github.com/vitsalis/pycg) for more details.
19
+
20
+ PyCG generates call graphs for Python code with a fully static analysis:
21
+ it never imports or runs the code that it analyses. The analysis follows
22
+ the values that a program passes around (functions, classes, instances,
23
+ containers), so it resolves
24
+
25
+ * calls through variables, arguments, return values, attributes and
26
+ containers (higher-order code)
27
+ * methods through class hierarchies, `super()`, decorators, properties and
28
+ descriptors
29
+ * the calls that the interpreter makes without a call expression (`for`,
30
+ `with`, operators, subscripts, `await` and others)
31
+ * imports inside the package, followed automatically
32
+ * calls into code outside the package (the builtins, the standard library,
33
+ other packages), named through type stubs
34
+
35
+ The analysis is fast on packages that use the standard library as external
36
+ code. It does not yet scale to programs that include large generic
37
+ libraries such as the standard library itself: see *Open problems* in
38
+ [docs/design.md](https://github.com/vitsalis/PyCG/blob/python-engine-final/docs/design.md), which is the specification of the
39
+ analysis.
40
+
41
+ The first version of PyCG is described in the
42
+ [ICSE 2021 paper](https://arxiv.org/pdf/2103.00587.pdf). The analysis in
43
+ this repository is a redesign of it; that version is the tag
44
+ `baseline-original-engine`. [evaluation/](https://github.com/vitsalis/PyCG/blob/python-engine-final/evaluation/README.md) measures
45
+ PyCG on the micro-benchmark and on a benchmark of real packages:
46
+ `make eval`.
47
+
48
+ You can cite PyCG as follows.
49
+ Vitalis Salis, Thodoris Sotiropoulos, Panos Louridas, Diomidis Spinellis and Dimitris Mitropoulos.
50
+ PyCG: Practical Call Graph Generation in Python.
51
+ In _43rd International Conference on Software Engineering, ICSE '21_,
52
+ 25–28 May 2021.
53
+
54
+ # Installation
55
+
56
+ PyCG requires Python 3.12 or later and has no runtime dependencies.
57
+
58
+ This version is not on PyPI yet (`pip install pycg` gives the 2021
59
+ version). Install it from a checkout of this repository:
60
+ ```
61
+ git clone https://github.com/vitsalis/PyCG
62
+ cd PyCG
63
+ pip install .
64
+ ```
65
+
66
+ Or run it from the checkout without installing it:
67
+ ```
68
+ python -m pycg --help # from the root of the checkout
69
+ uv run pycg --help # with uv, which also makes the environment
70
+ ```
71
+
72
+ # Usage
73
+
74
+ ```
75
+ ~ >>> pycg -h
76
+ usage: pycg [-h] [--package PACKAGE] [--package-name PACKAGE_NAME]
77
+ [--package-version PACKAGE_VERSION] [-o OUTPUT] [--cap N]
78
+ [entry_point ...]
79
+
80
+ Write the call graph of a Python package as one JSON document.
81
+
82
+ positional arguments:
83
+ entry_point Entry points to be processed
84
+
85
+ options:
86
+ -h, --help show this help message and exit
87
+ --package PACKAGE Package root: module names are relative to it and only
88
+ modules under it are analysed. Default: the deepest
89
+ directory that contains every entry point
90
+ --package-name PACKAGE_NAME
91
+ Name of the analysed package
92
+ --package-version PACKAGE_VERSION
93
+ Version of the analysed package
94
+ -o, --output OUTPUT Output path
95
+ --cap N The most objects that the analysis keeps for one
96
+ variable or expression: past it the value is treated
97
+ as unknown, and calls through it are reported as
98
+ unresolved (saturated). 'none' removes the cap: the
99
+ analysis may then not finish, or run out of memory, on
100
+ large inputs. Default: 5000
101
+ ```
102
+
103
+ A module that cannot be read or parsed is reported as failed, with a
104
+ warning, and analysed as an empty module.
105
+
106
+ `--cap` (`cap=` of `CallGraphGenerator`) is the one setting of the
107
+ analysis; the document records it. `--cap none` gives the analysis
108
+ without a cap, which may not finish on large inputs.
109
+
110
+ # Output
111
+
112
+ PyCG writes one JSON document, specified in [docs/format.md](https://github.com/vitsalis/PyCG/blob/python-engine-final/docs/format.md).
113
+ It lists the analysed modules, their definitions (modules, classes with
114
+ their MROs, functions), the names that each module exports, the outside
115
+ names that the code calls, and the call sites of each caller: the position
116
+ of each call, what it may call, the implicit calls (`for`, `with`,
117
+ operators, properties and others) by construct, and the calls whose callee
118
+ is not known, with the cause. The document is deterministic: the same
119
+ input gives the same bytes on every run and every supported Python version.
120
+
121
+ `pycg.formats.edges(document)` gives the classic call graph: each node
122
+ mapped to the sorted names it calls.
123
+
124
+ ```
125
+ {
126
+ "node1": ["node2", "node3"],
127
+ "node2": ["node3"],
128
+ "node3": []
129
+ }
130
+ ```
131
+
132
+ # Examples
133
+
134
+ All the entry points are known:
135
+ ```
136
+ ~ >>> pycg --package pkg_root pkg_root/module1.py pkg_root/subpackage/module2.py -o cg.json
137
+ ```
138
+
139
+ All entry points are not known, and the package is named in the document:
140
+ ```
141
+ ~ >>> pycg --package django --package-name django --package-version 5.2 \
142
+ $(find django -type f -name "*.py") -o django.json
143
+ ```
144
+
145
+ # Development
146
+
147
+ Install [uv](https://docs.astral.sh/uv/). Then, from the root directory:
148
+ ```
149
+ uv run make test # unit tests, the micro-benchmark and its validator
150
+ uv run make lint # ruff check, ruff format --check, no comments
151
+ uv run make format # sort imports and format the code
152
+ ```
153
+
154
+ Each micro-benchmark case is a directory
155
+ `evaluation/micro-benchmark/snippets/<category>/<name>/` that contains a
156
+ `main.py` and the expected `callgraph.json`. The tests find new case
157
+ directories automatically.
158
+ To run one case:
159
+ ```
160
+ uv run pytest "tests/test_micro_benchmark.py::test_call_graph[classes/call]"
161
+ ```
162
+
163
+ The cases that the analysis fails are listed, each with its cause, in
164
+ `tests/known_failures.txt`, as strict expected failures. After a change to
165
+ the analysis, regenerate the list with `uv run python tests/triage.py`,
166
+ which holds the causes. It removes the cases that pass now and never adds a
167
+ case by itself: a failing case that is not in the list is a regression or a
168
+ new case, and the tool reports it and fails. Give such a case a cause in
169
+ `tests/triage.py` and add it with `--readmit <category>/<case>`.
pycg-1.0.0/README.md ADDED
@@ -0,0 +1,155 @@
1
+ # PyCG - Practical Python Call Graphs
2
+
3
+ > This is the final release of the Python engine; PyCG continues as a Rust tool.
4
+ > See the [repository](https://github.com/vitsalis/pycg) for more details.
5
+
6
+ PyCG generates call graphs for Python code with a fully static analysis:
7
+ it never imports or runs the code that it analyses. The analysis follows
8
+ the values that a program passes around (functions, classes, instances,
9
+ containers), so it resolves
10
+
11
+ * calls through variables, arguments, return values, attributes and
12
+ containers (higher-order code)
13
+ * methods through class hierarchies, `super()`, decorators, properties and
14
+ descriptors
15
+ * the calls that the interpreter makes without a call expression (`for`,
16
+ `with`, operators, subscripts, `await` and others)
17
+ * imports inside the package, followed automatically
18
+ * calls into code outside the package (the builtins, the standard library,
19
+ other packages), named through type stubs
20
+
21
+ The analysis is fast on packages that use the standard library as external
22
+ code. It does not yet scale to programs that include large generic
23
+ libraries such as the standard library itself: see *Open problems* in
24
+ [docs/design.md](https://github.com/vitsalis/PyCG/blob/python-engine-final/docs/design.md), which is the specification of the
25
+ analysis.
26
+
27
+ The first version of PyCG is described in the
28
+ [ICSE 2021 paper](https://arxiv.org/pdf/2103.00587.pdf). The analysis in
29
+ this repository is a redesign of it; that version is the tag
30
+ `baseline-original-engine`. [evaluation/](https://github.com/vitsalis/PyCG/blob/python-engine-final/evaluation/README.md) measures
31
+ PyCG on the micro-benchmark and on a benchmark of real packages:
32
+ `make eval`.
33
+
34
+ You can cite PyCG as follows.
35
+ Vitalis Salis, Thodoris Sotiropoulos, Panos Louridas, Diomidis Spinellis and Dimitris Mitropoulos.
36
+ PyCG: Practical Call Graph Generation in Python.
37
+ In _43rd International Conference on Software Engineering, ICSE '21_,
38
+ 25–28 May 2021.
39
+
40
+ # Installation
41
+
42
+ PyCG requires Python 3.12 or later and has no runtime dependencies.
43
+
44
+ This version is not on PyPI yet (`pip install pycg` gives the 2021
45
+ version). Install it from a checkout of this repository:
46
+ ```
47
+ git clone https://github.com/vitsalis/PyCG
48
+ cd PyCG
49
+ pip install .
50
+ ```
51
+
52
+ Or run it from the checkout without installing it:
53
+ ```
54
+ python -m pycg --help # from the root of the checkout
55
+ uv run pycg --help # with uv, which also makes the environment
56
+ ```
57
+
58
+ # Usage
59
+
60
+ ```
61
+ ~ >>> pycg -h
62
+ usage: pycg [-h] [--package PACKAGE] [--package-name PACKAGE_NAME]
63
+ [--package-version PACKAGE_VERSION] [-o OUTPUT] [--cap N]
64
+ [entry_point ...]
65
+
66
+ Write the call graph of a Python package as one JSON document.
67
+
68
+ positional arguments:
69
+ entry_point Entry points to be processed
70
+
71
+ options:
72
+ -h, --help show this help message and exit
73
+ --package PACKAGE Package root: module names are relative to it and only
74
+ modules under it are analysed. Default: the deepest
75
+ directory that contains every entry point
76
+ --package-name PACKAGE_NAME
77
+ Name of the analysed package
78
+ --package-version PACKAGE_VERSION
79
+ Version of the analysed package
80
+ -o, --output OUTPUT Output path
81
+ --cap N The most objects that the analysis keeps for one
82
+ variable or expression: past it the value is treated
83
+ as unknown, and calls through it are reported as
84
+ unresolved (saturated). 'none' removes the cap: the
85
+ analysis may then not finish, or run out of memory, on
86
+ large inputs. Default: 5000
87
+ ```
88
+
89
+ A module that cannot be read or parsed is reported as failed, with a
90
+ warning, and analysed as an empty module.
91
+
92
+ `--cap` (`cap=` of `CallGraphGenerator`) is the one setting of the
93
+ analysis; the document records it. `--cap none` gives the analysis
94
+ without a cap, which may not finish on large inputs.
95
+
96
+ # Output
97
+
98
+ PyCG writes one JSON document, specified in [docs/format.md](https://github.com/vitsalis/PyCG/blob/python-engine-final/docs/format.md).
99
+ It lists the analysed modules, their definitions (modules, classes with
100
+ their MROs, functions), the names that each module exports, the outside
101
+ names that the code calls, and the call sites of each caller: the position
102
+ of each call, what it may call, the implicit calls (`for`, `with`,
103
+ operators, properties and others) by construct, and the calls whose callee
104
+ is not known, with the cause. The document is deterministic: the same
105
+ input gives the same bytes on every run and every supported Python version.
106
+
107
+ `pycg.formats.edges(document)` gives the classic call graph: each node
108
+ mapped to the sorted names it calls.
109
+
110
+ ```
111
+ {
112
+ "node1": ["node2", "node3"],
113
+ "node2": ["node3"],
114
+ "node3": []
115
+ }
116
+ ```
117
+
118
+ # Examples
119
+
120
+ All the entry points are known:
121
+ ```
122
+ ~ >>> pycg --package pkg_root pkg_root/module1.py pkg_root/subpackage/module2.py -o cg.json
123
+ ```
124
+
125
+ All entry points are not known, and the package is named in the document:
126
+ ```
127
+ ~ >>> pycg --package django --package-name django --package-version 5.2 \
128
+ $(find django -type f -name "*.py") -o django.json
129
+ ```
130
+
131
+ # Development
132
+
133
+ Install [uv](https://docs.astral.sh/uv/). Then, from the root directory:
134
+ ```
135
+ uv run make test # unit tests, the micro-benchmark and its validator
136
+ uv run make lint # ruff check, ruff format --check, no comments
137
+ uv run make format # sort imports and format the code
138
+ ```
139
+
140
+ Each micro-benchmark case is a directory
141
+ `evaluation/micro-benchmark/snippets/<category>/<name>/` that contains a
142
+ `main.py` and the expected `callgraph.json`. The tests find new case
143
+ directories automatically.
144
+ To run one case:
145
+ ```
146
+ uv run pytest "tests/test_micro_benchmark.py::test_call_graph[classes/call]"
147
+ ```
148
+
149
+ The cases that the analysis fails are listed, each with its cause, in
150
+ `tests/known_failures.txt`, as strict expected failures. After a change to
151
+ the analysis, regenerate the list with `uv run python tests/triage.py`,
152
+ which holds the causes. It removes the cases that pass now and never adds a
153
+ case by itself: a failing case that is not in the list is a regression or a
154
+ new case, and the tool reports it and fails. Give such a case a cause in
155
+ `tests/triage.py` and add it with `--readmit <category>/<case>`.