@scrypted/server 0.0.141 → 0.0.145

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.

Potentially problematic release.


This version of @scrypted/server might be problematic. Click here for more details.

Files changed (722) hide show
  1. package/dist/plugin/media.js +14 -3
  2. package/dist/plugin/media.js.map +1 -1
  3. package/dist/plugin/plugin-remote.js +2 -0
  4. package/dist/plugin/plugin-remote.js.map +1 -1
  5. package/dist/rpc.js +9 -5
  6. package/dist/rpc.js.map +1 -1
  7. package/dist/runtime.js +6 -0
  8. package/dist/runtime.js.map +1 -1
  9. package/package.json +2 -2
  10. package/src/plugin/media.ts +15 -3
  11. package/src/plugin/plugin-remote.ts +2 -0
  12. package/src/rpc.ts +11 -3
  13. package/src/runtime.ts +7 -0
  14. package/.venv/bin/Activate.ps1 +0 -241
  15. package/.venv/bin/activate +0 -66
  16. package/.venv/bin/activate.csh +0 -25
  17. package/.venv/bin/activate.fish +0 -64
  18. package/.venv/bin/pip +0 -8
  19. package/.venv/bin/pip3 +0 -8
  20. package/.venv/bin/pip3.9 +0 -8
  21. package/.venv/lib/python3.9/site-packages/_distutils_hack/__init__.py +0 -198
  22. package/.venv/lib/python3.9/site-packages/_distutils_hack/override.py +0 -1
  23. package/.venv/lib/python3.9/site-packages/distutils-precedence.pth +0 -1
  24. package/.venv/lib/python3.9/site-packages/pgi/__init__.py +0 -62
  25. package/.venv/lib/python3.9/site-packages/pgi/_compat.py +0 -74
  26. package/.venv/lib/python3.9/site-packages/pgi/callback.py +0 -15
  27. package/.venv/lib/python3.9/site-packages/pgi/cffilib/__init__.py +0 -12
  28. package/.venv/lib/python3.9/site-packages/pgi/cffilib/_compat.py +0 -25
  29. package/.venv/lib/python3.9/site-packages/pgi/cffilib/_utils.py +0 -119
  30. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/__init__.py +0 -60
  31. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/_cdef.py +0 -574
  32. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/_ffi.py +0 -25
  33. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/error.py +0 -13
  34. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giarginfo.py +0 -73
  35. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giargument.py +0 -36
  36. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gibaseinfo.py +0 -113
  37. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gicallableinfo.py +0 -75
  38. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giconstantinfo.py +0 -22
  39. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gienuminfo.py +0 -59
  40. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gifieldinfo.py +0 -40
  41. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gifunctioninfo.py +0 -64
  42. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giinterfaceinfo.py +0 -93
  43. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giobjectinfo.py +0 -143
  44. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gipropertyinfo.py +0 -28
  45. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giregisteredtypeinfo.py +0 -27
  46. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/girepository.py +0 -143
  47. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gisignalinfo.py +0 -55
  48. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gistructinfo.py +0 -55
  49. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gitypeinfo.py +0 -66
  50. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gitypelib.py +0 -40
  51. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giunioninfo.py +0 -66
  52. package/.venv/lib/python3.9/site-packages/pgi/cffilib/glib/__init__.py +0 -8
  53. package/.venv/lib/python3.9/site-packages/pgi/cffilib/glib/_cdef.py +0 -101
  54. package/.venv/lib/python3.9/site-packages/pgi/cffilib/glib/glib.py +0 -260
  55. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gobject/__init__.py +0 -15
  56. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gobject/_cdef.py +0 -45
  57. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gobject/_ffi.py +0 -26
  58. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gobject/gobject.py +0 -27
  59. package/.venv/lib/python3.9/site-packages/pgi/clib/__init__.py +0 -11
  60. package/.venv/lib/python3.9/site-packages/pgi/clib/_compat.py +0 -20
  61. package/.venv/lib/python3.9/site-packages/pgi/clib/_utils.py +0 -213
  62. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/__init__.py +0 -71
  63. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/error.py +0 -13
  64. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giarginfo.py +0 -65
  65. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giargument.py +0 -58
  66. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gibaseinfo.py +0 -152
  67. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gicallableinfo.py +0 -203
  68. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giconstantinfo.py +0 -35
  69. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gienuminfo.py +0 -64
  70. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gifieldinfo.py +0 -46
  71. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giinterfaceinfo.py +0 -83
  72. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giobjectinfo.py +0 -134
  73. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gipropertyinfo.py +0 -36
  74. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giregisteredtypeinfo.py +0 -34
  75. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/girepository.py +0 -200
  76. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gistructinfo.py +0 -55
  77. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gitypeinfo.py +0 -97
  78. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gitypelib.py +0 -56
  79. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giunioninfo.py +0 -60
  80. package/.venv/lib/python3.9/site-packages/pgi/clib/glib.py +0 -336
  81. package/.venv/lib/python3.9/site-packages/pgi/clib/gobject.py +0 -405
  82. package/.venv/lib/python3.9/site-packages/pgi/codegen/__init__.py +0 -28
  83. package/.venv/lib/python3.9/site-packages/pgi/codegen/arguments.py +0 -640
  84. package/.venv/lib/python3.9/site-packages/pgi/codegen/backend.py +0 -95
  85. package/.venv/lib/python3.9/site-packages/pgi/codegen/cbargs.py +0 -152
  86. package/.venv/lib/python3.9/site-packages/pgi/codegen/cbreturn.py +0 -77
  87. package/.venv/lib/python3.9/site-packages/pgi/codegen/cffi_backend.py +0 -424
  88. package/.venv/lib/python3.9/site-packages/pgi/codegen/construct.py +0 -222
  89. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/__init__.py +0 -11
  90. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/main.py +0 -184
  91. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/types_basic.py +0 -705
  92. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/types_container.py +0 -236
  93. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/types_interface.py +0 -402
  94. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/types_other.py +0 -93
  95. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/utils.py +0 -168
  96. package/.venv/lib/python3.9/site-packages/pgi/codegen/fieldgen.py +0 -114
  97. package/.venv/lib/python3.9/site-packages/pgi/codegen/fields.py +0 -244
  98. package/.venv/lib/python3.9/site-packages/pgi/codegen/funcgen.py +0 -376
  99. package/.venv/lib/python3.9/site-packages/pgi/codegen/null_backend.py +0 -110
  100. package/.venv/lib/python3.9/site-packages/pgi/codegen/returnvalues.py +0 -443
  101. package/.venv/lib/python3.9/site-packages/pgi/codegen/siggen.py +0 -157
  102. package/.venv/lib/python3.9/site-packages/pgi/codegen/utils.py +0 -248
  103. package/.venv/lib/python3.9/site-packages/pgi/const.py +0 -9
  104. package/.venv/lib/python3.9/site-packages/pgi/constant.py +0 -32
  105. package/.venv/lib/python3.9/site-packages/pgi/debug.py +0 -31
  106. package/.venv/lib/python3.9/site-packages/pgi/enum.py +0 -244
  107. package/.venv/lib/python3.9/site-packages/pgi/field.py +0 -58
  108. package/.venv/lib/python3.9/site-packages/pgi/finalizer.py +0 -3
  109. package/.venv/lib/python3.9/site-packages/pgi/foreign/__init__.py +0 -71
  110. package/.venv/lib/python3.9/site-packages/pgi/foreign/_base.py +0 -43
  111. package/.venv/lib/python3.9/site-packages/pgi/foreign/cairo.py +0 -41
  112. package/.venv/lib/python3.9/site-packages/pgi/function.py +0 -12
  113. package/.venv/lib/python3.9/site-packages/pgi/gerror.py +0 -58
  114. package/.venv/lib/python3.9/site-packages/pgi/gtype.py +0 -168
  115. package/.venv/lib/python3.9/site-packages/pgi/importer.py +0 -189
  116. package/.venv/lib/python3.9/site-packages/pgi/module.py +0 -141
  117. package/.venv/lib/python3.9/site-packages/pgi/obj.py +0 -519
  118. package/.venv/lib/python3.9/site-packages/pgi/overrides/GLib.py +0 -1013
  119. package/.venv/lib/python3.9/site-packages/pgi/overrides/GObject.py +0 -583
  120. package/.venv/lib/python3.9/site-packages/pgi/overrides/Gdk.py +0 -454
  121. package/.venv/lib/python3.9/site-packages/pgi/overrides/Gio.py +0 -237
  122. package/.venv/lib/python3.9/site-packages/pgi/overrides/Gtk.py +0 -2412
  123. package/.venv/lib/python3.9/site-packages/pgi/overrides/Pango.py +0 -53
  124. package/.venv/lib/python3.9/site-packages/pgi/overrides/Poppler.py +0 -61
  125. package/.venv/lib/python3.9/site-packages/pgi/overrides/__init__.py +0 -327
  126. package/.venv/lib/python3.9/site-packages/pgi/overrides/keysyms.py +0 -54
  127. package/.venv/lib/python3.9/site-packages/pgi/properties.py +0 -313
  128. package/.venv/lib/python3.9/site-packages/pgi/propertyhelper.py +0 -12
  129. package/.venv/lib/python3.9/site-packages/pgi/repository/__init__.py +0 -10
  130. package/.venv/lib/python3.9/site-packages/pgi/signalhelper.py +0 -18
  131. package/.venv/lib/python3.9/site-packages/pgi/signals.py +0 -122
  132. package/.venv/lib/python3.9/site-packages/pgi/static.py +0 -189
  133. package/.venv/lib/python3.9/site-packages/pgi/structure.py +0 -131
  134. package/.venv/lib/python3.9/site-packages/pgi/util.py +0 -342
  135. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/COPYING +0 -502
  136. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/INSTALLER +0 -1
  137. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/METADATA +0 -22
  138. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/RECORD +0 -229
  139. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/REQUESTED +0 -0
  140. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/WHEEL +0 -5
  141. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/top_level.txt +0 -1
  142. package/.venv/lib/python3.9/site-packages/pip/__init__.py +0 -13
  143. package/.venv/lib/python3.9/site-packages/pip/__main__.py +0 -31
  144. package/.venv/lib/python3.9/site-packages/pip/_internal/__init__.py +0 -19
  145. package/.venv/lib/python3.9/site-packages/pip/_internal/build_env.py +0 -293
  146. package/.venv/lib/python3.9/site-packages/pip/_internal/cache.py +0 -264
  147. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/__init__.py +0 -4
  148. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py +0 -163
  149. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/base_command.py +0 -214
  150. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py +0 -1010
  151. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/command_context.py +0 -27
  152. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/main.py +0 -70
  153. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py +0 -87
  154. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/parser.py +0 -292
  155. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/progress_bars.py +0 -250
  156. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/req_command.py +0 -469
  157. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/spinners.py +0 -157
  158. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/status_codes.py +0 -6
  159. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/__init__.py +0 -127
  160. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/cache.py +0 -223
  161. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/check.py +0 -53
  162. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/completion.py +0 -96
  163. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/configuration.py +0 -266
  164. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/debug.py +0 -202
  165. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/download.py +0 -139
  166. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/freeze.py +0 -97
  167. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/hash.py +0 -59
  168. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/help.py +0 -41
  169. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/index.py +0 -138
  170. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/install.py +0 -770
  171. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/list.py +0 -361
  172. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/search.py +0 -174
  173. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/show.py +0 -235
  174. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/uninstall.py +0 -105
  175. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/wheel.py +0 -177
  176. package/.venv/lib/python3.9/site-packages/pip/_internal/configuration.py +0 -367
  177. package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/__init__.py +0 -21
  178. package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/base.py +0 -36
  179. package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/installed.py +0 -22
  180. package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py +0 -129
  181. package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/wheel.py +0 -31
  182. package/.venv/lib/python3.9/site-packages/pip/_internal/exceptions.py +0 -402
  183. package/.venv/lib/python3.9/site-packages/pip/_internal/index/__init__.py +0 -2
  184. package/.venv/lib/python3.9/site-packages/pip/_internal/index/collector.py +0 -536
  185. package/.venv/lib/python3.9/site-packages/pip/_internal/index/package_finder.py +0 -993
  186. package/.venv/lib/python3.9/site-packages/pip/_internal/index/sources.py +0 -224
  187. package/.venv/lib/python3.9/site-packages/pip/_internal/locations/__init__.py +0 -446
  188. package/.venv/lib/python3.9/site-packages/pip/_internal/locations/_distutils.py +0 -169
  189. package/.venv/lib/python3.9/site-packages/pip/_internal/locations/_sysconfig.py +0 -219
  190. package/.venv/lib/python3.9/site-packages/pip/_internal/locations/base.py +0 -52
  191. package/.venv/lib/python3.9/site-packages/pip/_internal/main.py +0 -12
  192. package/.venv/lib/python3.9/site-packages/pip/_internal/metadata/__init__.py +0 -51
  193. package/.venv/lib/python3.9/site-packages/pip/_internal/metadata/base.py +0 -330
  194. package/.venv/lib/python3.9/site-packages/pip/_internal/metadata/pkg_resources.py +0 -146
  195. package/.venv/lib/python3.9/site-packages/pip/_internal/models/__init__.py +0 -2
  196. package/.venv/lib/python3.9/site-packages/pip/_internal/models/candidate.py +0 -34
  197. package/.venv/lib/python3.9/site-packages/pip/_internal/models/direct_url.py +0 -220
  198. package/.venv/lib/python3.9/site-packages/pip/_internal/models/format_control.py +0 -80
  199. package/.venv/lib/python3.9/site-packages/pip/_internal/models/index.py +0 -28
  200. package/.venv/lib/python3.9/site-packages/pip/_internal/models/link.py +0 -288
  201. package/.venv/lib/python3.9/site-packages/pip/_internal/models/scheme.py +0 -31
  202. package/.venv/lib/python3.9/site-packages/pip/_internal/models/search_scope.py +0 -129
  203. package/.venv/lib/python3.9/site-packages/pip/_internal/models/selection_prefs.py +0 -51
  204. package/.venv/lib/python3.9/site-packages/pip/_internal/models/target_python.py +0 -110
  205. package/.venv/lib/python3.9/site-packages/pip/_internal/models/wheel.py +0 -89
  206. package/.venv/lib/python3.9/site-packages/pip/_internal/network/__init__.py +0 -2
  207. package/.venv/lib/python3.9/site-packages/pip/_internal/network/auth.py +0 -323
  208. package/.venv/lib/python3.9/site-packages/pip/_internal/network/cache.py +0 -69
  209. package/.venv/lib/python3.9/site-packages/pip/_internal/network/download.py +0 -184
  210. package/.venv/lib/python3.9/site-packages/pip/_internal/network/lazy_wheel.py +0 -210
  211. package/.venv/lib/python3.9/site-packages/pip/_internal/network/session.py +0 -454
  212. package/.venv/lib/python3.9/site-packages/pip/_internal/network/utils.py +0 -96
  213. package/.venv/lib/python3.9/site-packages/pip/_internal/network/xmlrpc.py +0 -60
  214. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/__init__.py +0 -0
  215. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/__init__.py +0 -0
  216. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/metadata.py +0 -30
  217. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/metadata_editable.py +0 -34
  218. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/metadata_legacy.py +0 -67
  219. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/wheel.py +0 -37
  220. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/wheel_editable.py +0 -46
  221. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/wheel_legacy.py +0 -105
  222. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/check.py +0 -149
  223. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/freeze.py +0 -254
  224. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/install/__init__.py +0 -2
  225. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/install/editable_legacy.py +0 -46
  226. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/install/legacy.py +0 -125
  227. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/install/wheel.py +0 -738
  228. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/prepare.py +0 -632
  229. package/.venv/lib/python3.9/site-packages/pip/_internal/pyproject.py +0 -183
  230. package/.venv/lib/python3.9/site-packages/pip/_internal/req/__init__.py +0 -94
  231. package/.venv/lib/python3.9/site-packages/pip/_internal/req/constructors.py +0 -466
  232. package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_file.py +0 -536
  233. package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_install.py +0 -891
  234. package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_set.py +0 -189
  235. package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_tracker.py +0 -124
  236. package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_uninstall.py +0 -633
  237. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/__init__.py +0 -0
  238. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/base.py +0 -20
  239. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
  240. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/legacy/resolver.py +0 -467
  241. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
  242. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/base.py +0 -141
  243. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py +0 -540
  244. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py +0 -701
  245. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +0 -155
  246. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/provider.py +0 -215
  247. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/reporter.py +0 -68
  248. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/requirements.py +0 -166
  249. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py +0 -251
  250. package/.venv/lib/python3.9/site-packages/pip/_internal/self_outdated_check.py +0 -182
  251. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/__init__.py +0 -0
  252. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/_log.py +0 -38
  253. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/appdirs.py +0 -52
  254. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/compat.py +0 -63
  255. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/compatibility_tags.py +0 -165
  256. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/datetime.py +0 -11
  257. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/deprecation.py +0 -120
  258. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/direct_url_helpers.py +0 -87
  259. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/distutils_args.py +0 -42
  260. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/egg_link.py +0 -75
  261. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/encoding.py +0 -36
  262. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/entrypoints.py +0 -27
  263. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/filesystem.py +0 -182
  264. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/filetypes.py +0 -27
  265. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/glibc.py +0 -88
  266. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/hashes.py +0 -144
  267. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/inject_securetransport.py +0 -35
  268. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/logging.py +0 -358
  269. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/misc.py +0 -689
  270. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/models.py +0 -39
  271. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/packaging.py +0 -84
  272. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/parallel.py +0 -103
  273. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/pkg_resources.py +0 -33
  274. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/setuptools_build.py +0 -167
  275. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/subprocess.py +0 -289
  276. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/temp_dir.py +0 -246
  277. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/unpacking.py +0 -258
  278. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/urls.py +0 -62
  279. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/virtualenv.py +0 -104
  280. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/wheel.py +0 -182
  281. package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/__init__.py +0 -15
  282. package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/bazaar.py +0 -93
  283. package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/git.py +0 -513
  284. package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/mercurial.py +0 -153
  285. package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/subversion.py +0 -318
  286. package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/versioncontrol.py +0 -693
  287. package/.venv/lib/python3.9/site-packages/pip/_internal/wheel_builder.py +0 -375
  288. package/.venv/lib/python3.9/site-packages/pip/_vendor/__init__.py +0 -111
  289. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/__init__.py +0 -11
  290. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/_cmd.py +0 -57
  291. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/adapter.py +0 -133
  292. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/cache.py +0 -39
  293. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +0 -2
  294. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +0 -146
  295. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +0 -33
  296. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/compat.py +0 -29
  297. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/controller.py +0 -376
  298. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/filewrapper.py +0 -80
  299. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/heuristics.py +0 -135
  300. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/serialize.py +0 -188
  301. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/wrapper.py +0 -29
  302. package/.venv/lib/python3.9/site-packages/pip/_vendor/certifi/__init__.py +0 -3
  303. package/.venv/lib/python3.9/site-packages/pip/_vendor/certifi/__main__.py +0 -12
  304. package/.venv/lib/python3.9/site-packages/pip/_vendor/certifi/cacert.pem +0 -4257
  305. package/.venv/lib/python3.9/site-packages/pip/_vendor/certifi/core.py +0 -76
  306. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/__init__.py +0 -83
  307. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/big5freq.py +0 -386
  308. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/big5prober.py +0 -47
  309. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/chardistribution.py +0 -233
  310. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/charsetgroupprober.py +0 -107
  311. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/charsetprober.py +0 -145
  312. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/cli/__init__.py +0 -1
  313. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/cli/chardetect.py +0 -84
  314. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/codingstatemachine.py +0 -88
  315. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/compat.py +0 -36
  316. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/cp949prober.py +0 -49
  317. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/enums.py +0 -76
  318. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/escprober.py +0 -101
  319. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/escsm.py +0 -246
  320. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/eucjpprober.py +0 -92
  321. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/euckrfreq.py +0 -195
  322. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/euckrprober.py +0 -47
  323. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/euctwfreq.py +0 -387
  324. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/euctwprober.py +0 -46
  325. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/gb2312freq.py +0 -283
  326. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/gb2312prober.py +0 -46
  327. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/hebrewprober.py +0 -292
  328. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/jisfreq.py +0 -325
  329. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/jpcntx.py +0 -233
  330. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langbulgarianmodel.py +0 -4650
  331. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langgreekmodel.py +0 -4398
  332. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langhebrewmodel.py +0 -4383
  333. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langhungarianmodel.py +0 -4650
  334. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langrussianmodel.py +0 -5718
  335. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langthaimodel.py +0 -4383
  336. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langturkishmodel.py +0 -4383
  337. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/latin1prober.py +0 -145
  338. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/mbcharsetprober.py +0 -91
  339. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/mbcsgroupprober.py +0 -54
  340. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/mbcssm.py +0 -572
  341. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/metadata/__init__.py +0 -0
  342. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/metadata/languages.py +0 -310
  343. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/sbcharsetprober.py +0 -145
  344. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/sbcsgroupprober.py +0 -83
  345. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/sjisprober.py +0 -92
  346. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/universaldetector.py +0 -286
  347. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/utf8prober.py +0 -82
  348. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/version.py +0 -9
  349. package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/__init__.py +0 -6
  350. package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/ansi.py +0 -102
  351. package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/ansitowin32.py +0 -258
  352. package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/initialise.py +0 -80
  353. package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/win32.py +0 -152
  354. package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/winterm.py +0 -169
  355. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/__init__.py +0 -23
  356. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/__init__.py +0 -6
  357. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/misc.py +0 -41
  358. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/shutil.py +0 -764
  359. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/sysconfig.cfg +0 -84
  360. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/sysconfig.py +0 -786
  361. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/tarfile.py +0 -2607
  362. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/compat.py +0 -1122
  363. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/database.py +0 -1339
  364. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/index.py +0 -509
  365. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/locators.py +0 -1300
  366. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/manifest.py +0 -393
  367. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/markers.py +0 -147
  368. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/metadata.py +0 -1058
  369. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/resources.py +0 -358
  370. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/scripts.py +0 -429
  371. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/t32.exe +0 -0
  372. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/t64-arm.exe +0 -0
  373. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/t64.exe +0 -0
  374. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/util.py +0 -1969
  375. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/version.py +0 -739
  376. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/w32.exe +0 -0
  377. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/w64-arm.exe +0 -0
  378. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/w64.exe +0 -0
  379. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/wheel.py +0 -1053
  380. package/.venv/lib/python3.9/site-packages/pip/_vendor/distro.py +0 -1386
  381. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/__init__.py +0 -35
  382. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_ihatexml.py +0 -289
  383. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_inputstream.py +0 -918
  384. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_tokenizer.py +0 -1735
  385. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_trie/__init__.py +0 -5
  386. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_trie/_base.py +0 -40
  387. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_trie/py.py +0 -67
  388. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_utils.py +0 -159
  389. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/constants.py +0 -2946
  390. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/__init__.py +0 -0
  391. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.py +0 -29
  392. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/base.py +0 -12
  393. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/inject_meta_charset.py +0 -73
  394. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/lint.py +0 -93
  395. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/optionaltags.py +0 -207
  396. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/sanitizer.py +0 -916
  397. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/whitespace.py +0 -38
  398. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/html5parser.py +0 -2795
  399. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/serializer.py +0 -409
  400. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py +0 -30
  401. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treeadapters/genshi.py +0 -54
  402. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treeadapters/sax.py +0 -50
  403. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/__init__.py +0 -88
  404. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/base.py +0 -417
  405. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/dom.py +0 -239
  406. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/etree.py +0 -343
  407. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/etree_lxml.py +0 -392
  408. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/__init__.py +0 -154
  409. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/base.py +0 -252
  410. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/dom.py +0 -43
  411. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/etree.py +0 -131
  412. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.py +0 -215
  413. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/genshi.py +0 -69
  414. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/__init__.py +0 -44
  415. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/codec.py +0 -117
  416. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/compat.py +0 -16
  417. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/core.py +0 -409
  418. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/idnadata.py +0 -2050
  419. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/intranges.py +0 -58
  420. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/package_data.py +0 -2
  421. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/uts46data.py +0 -8438
  422. package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/__init__.py +0 -54
  423. package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/_version.py +0 -1
  424. package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/exceptions.py +0 -48
  425. package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/ext.py +0 -193
  426. package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/fallback.py +0 -1087
  427. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/__about__.py +0 -26
  428. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/__init__.py +0 -25
  429. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/_manylinux.py +0 -301
  430. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/_musllinux.py +0 -136
  431. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/_structures.py +0 -67
  432. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/markers.py +0 -304
  433. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/requirements.py +0 -146
  434. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/specifiers.py +0 -828
  435. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/tags.py +0 -484
  436. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/utils.py +0 -136
  437. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/version.py +0 -504
  438. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/__init__.py +0 -6
  439. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/build.py +0 -127
  440. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/check.py +0 -207
  441. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/colorlog.py +0 -115
  442. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/compat.py +0 -51
  443. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/dirtools.py +0 -44
  444. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/envbuild.py +0 -171
  445. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/__init__.py +0 -17
  446. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py +0 -363
  447. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/meta.py +0 -92
  448. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/wrappers.py +0 -375
  449. package/.venv/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py +0 -3296
  450. package/.venv/lib/python3.9/site-packages/pip/_vendor/pkg_resources/py31compat.py +0 -23
  451. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/__init__.py +0 -329
  452. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/__main__.py +0 -44
  453. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/android.py +0 -117
  454. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/api.py +0 -155
  455. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/macos.py +0 -62
  456. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/unix.py +0 -180
  457. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/version.py +0 -4
  458. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/windows.py +0 -180
  459. package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/__init__.py +0 -189
  460. package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/bar.py +0 -93
  461. package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/colors.py +0 -79
  462. package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/counter.py +0 -47
  463. package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/spinner.py +0 -45
  464. package/.venv/lib/python3.9/site-packages/pip/_vendor/pyparsing.py +0 -7107
  465. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/__init__.py +0 -154
  466. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/__version__.py +0 -14
  467. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/_internal_utils.py +0 -42
  468. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/adapters.py +0 -533
  469. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/api.py +0 -159
  470. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/auth.py +0 -305
  471. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/certs.py +0 -18
  472. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/compat.py +0 -76
  473. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/cookies.py +0 -549
  474. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/exceptions.py +0 -127
  475. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/help.py +0 -132
  476. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/hooks.py +0 -34
  477. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/models.py +0 -966
  478. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/packages.py +0 -16
  479. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py +0 -781
  480. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/status_codes.py +0 -123
  481. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/structures.py +0 -105
  482. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/utils.py +0 -1013
  483. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/__init__.py +0 -26
  484. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
  485. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +0 -6
  486. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/providers.py +0 -133
  487. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/reporters.py +0 -37
  488. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py +0 -483
  489. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/structs.py +0 -165
  490. package/.venv/lib/python3.9/site-packages/pip/_vendor/six.py +0 -998
  491. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/__init__.py +0 -517
  492. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/_asyncio.py +0 -92
  493. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/_utils.py +0 -68
  494. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/after.py +0 -46
  495. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/before.py +0 -41
  496. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/before_sleep.py +0 -58
  497. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/nap.py +0 -43
  498. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/retry.py +0 -213
  499. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/stop.py +0 -96
  500. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/tornadoweb.py +0 -59
  501. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/wait.py +0 -191
  502. package/.venv/lib/python3.9/site-packages/pip/_vendor/tomli/__init__.py +0 -6
  503. package/.venv/lib/python3.9/site-packages/pip/_vendor/tomli/_parser.py +0 -703
  504. package/.venv/lib/python3.9/site-packages/pip/_vendor/tomli/_re.py +0 -83
  505. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/__init__.py +0 -85
  506. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/_collections.py +0 -337
  507. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/_version.py +0 -2
  508. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/connection.py +0 -569
  509. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/connectionpool.py +0 -1078
  510. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
  511. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +0 -36
  512. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
  513. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +0 -519
  514. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +0 -397
  515. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/appengine.py +0 -314
  516. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +0 -130
  517. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +0 -511
  518. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +0 -922
  519. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/socks.py +0 -216
  520. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/exceptions.py +0 -323
  521. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/fields.py +0 -274
  522. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/filepost.py +0 -98
  523. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -5
  524. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
  525. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +0 -51
  526. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/six.py +0 -1077
  527. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/ssl_match_hostname/__init__.py +0 -24
  528. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/ssl_match_hostname/_implementation.py +0 -160
  529. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/poolmanager.py +0 -536
  530. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/request.py +0 -170
  531. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/response.py +0 -821
  532. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/__init__.py +0 -49
  533. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/connection.py +0 -150
  534. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/proxy.py +0 -57
  535. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/queue.py +0 -22
  536. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/request.py +0 -143
  537. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/response.py +0 -107
  538. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/retry.py +0 -602
  539. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/ssl_.py +0 -495
  540. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/ssltransport.py +0 -221
  541. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/timeout.py +0 -268
  542. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/url.py +0 -432
  543. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/wait.py +0 -153
  544. package/.venv/lib/python3.9/site-packages/pip/_vendor/vendor.txt +0 -22
  545. package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/__init__.py +0 -342
  546. package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/labels.py +0 -231
  547. package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/mklabels.py +0 -59
  548. package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/tests.py +0 -153
  549. package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/x_user_defined.py +0 -325
  550. package/.venv/lib/python3.9/site-packages/pip/py.typed +0 -4
  551. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/INSTALLER +0 -1
  552. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/LICENSE.txt +0 -20
  553. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/METADATA +0 -93
  554. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/RECORD +0 -819
  555. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/REQUESTED +0 -0
  556. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/WHEEL +0 -5
  557. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/entry_points.txt +0 -5
  558. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/top_level.txt +0 -1
  559. package/.venv/lib/python3.9/site-packages/pkg_resources/__init__.py +0 -3303
  560. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/__init__.py +0 -0
  561. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/appdirs.py +0 -608
  562. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/__about__.py +0 -26
  563. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/__init__.py +0 -25
  564. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_manylinux.py +0 -301
  565. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_musllinux.py +0 -136
  566. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_structures.py +0 -67
  567. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/markers.py +0 -304
  568. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/requirements.py +0 -146
  569. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/specifiers.py +0 -828
  570. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/tags.py +0 -484
  571. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/utils.py +0 -136
  572. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/version.py +0 -504
  573. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/pyparsing.py +0 -5742
  574. package/.venv/lib/python3.9/site-packages/pkg_resources/extern/__init__.py +0 -73
  575. package/.venv/lib/python3.9/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py +0 -6
  576. package/.venv/lib/python3.9/site-packages/setuptools/__init__.py +0 -244
  577. package/.venv/lib/python3.9/site-packages/setuptools/_deprecation_warning.py +0 -7
  578. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/__init__.py +0 -24
  579. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/_collections.py +0 -56
  580. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/_msvccompiler.py +0 -561
  581. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/archive_util.py +0 -256
  582. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/bcppcompiler.py +0 -393
  583. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/ccompiler.py +0 -1123
  584. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py +0 -403
  585. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/__init__.py +0 -31
  586. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist.py +0 -143
  587. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist_dumb.py +0 -123
  588. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist_msi.py +0 -749
  589. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist_rpm.py +0 -579
  590. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist_wininst.py +0 -377
  591. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build.py +0 -157
  592. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_clib.py +0 -209
  593. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py +0 -755
  594. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_py.py +0 -392
  595. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_scripts.py +0 -152
  596. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/check.py +0 -148
  597. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/clean.py +0 -76
  598. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/config.py +0 -344
  599. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install.py +0 -775
  600. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_data.py +0 -79
  601. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_egg_info.py +0 -84
  602. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_headers.py +0 -47
  603. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_lib.py +0 -217
  604. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_scripts.py +0 -60
  605. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/py37compat.py +0 -30
  606. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/register.py +0 -304
  607. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/sdist.py +0 -494
  608. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/upload.py +0 -214
  609. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/config.py +0 -130
  610. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/core.py +0 -249
  611. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/cygwinccompiler.py +0 -362
  612. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/debug.py +0 -5
  613. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/dep_util.py +0 -92
  614. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/dir_util.py +0 -210
  615. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/dist.py +0 -1257
  616. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/errors.py +0 -97
  617. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/extension.py +0 -240
  618. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/fancy_getopt.py +0 -457
  619. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/file_util.py +0 -238
  620. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/filelist.py +0 -355
  621. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/log.py +0 -81
  622. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/msvc9compiler.py +0 -788
  623. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/msvccompiler.py +0 -643
  624. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/py35compat.py +0 -19
  625. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/py38compat.py +0 -7
  626. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/spawn.py +0 -106
  627. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/sysconfig.py +0 -567
  628. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/text_file.py +0 -286
  629. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/unixccompiler.py +0 -325
  630. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/util.py +0 -548
  631. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/version.py +0 -363
  632. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/versionpredicate.py +0 -169
  633. package/.venv/lib/python3.9/site-packages/setuptools/_imp.py +0 -82
  634. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/__init__.py +0 -0
  635. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/more_itertools/__init__.py +0 -4
  636. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/more_itertools/more.py +0 -3825
  637. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/more_itertools/recipes.py +0 -620
  638. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/ordered_set.py +0 -488
  639. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/__about__.py +0 -26
  640. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/__init__.py +0 -25
  641. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/_manylinux.py +0 -301
  642. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/_musllinux.py +0 -136
  643. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/_structures.py +0 -67
  644. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/markers.py +0 -304
  645. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/requirements.py +0 -146
  646. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/specifiers.py +0 -828
  647. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/tags.py +0 -484
  648. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/utils.py +0 -136
  649. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/version.py +0 -504
  650. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/pyparsing.py +0 -5742
  651. package/.venv/lib/python3.9/site-packages/setuptools/archive_util.py +0 -205
  652. package/.venv/lib/python3.9/site-packages/setuptools/build_meta.py +0 -290
  653. package/.venv/lib/python3.9/site-packages/setuptools/cli-32.exe +0 -0
  654. package/.venv/lib/python3.9/site-packages/setuptools/cli-64.exe +0 -0
  655. package/.venv/lib/python3.9/site-packages/setuptools/cli-arm64.exe +0 -0
  656. package/.venv/lib/python3.9/site-packages/setuptools/cli.exe +0 -0
  657. package/.venv/lib/python3.9/site-packages/setuptools/command/__init__.py +0 -8
  658. package/.venv/lib/python3.9/site-packages/setuptools/command/alias.py +0 -78
  659. package/.venv/lib/python3.9/site-packages/setuptools/command/bdist_egg.py +0 -456
  660. package/.venv/lib/python3.9/site-packages/setuptools/command/bdist_rpm.py +0 -40
  661. package/.venv/lib/python3.9/site-packages/setuptools/command/build_clib.py +0 -101
  662. package/.venv/lib/python3.9/site-packages/setuptools/command/build_ext.py +0 -328
  663. package/.venv/lib/python3.9/site-packages/setuptools/command/build_py.py +0 -242
  664. package/.venv/lib/python3.9/site-packages/setuptools/command/develop.py +0 -193
  665. package/.venv/lib/python3.9/site-packages/setuptools/command/dist_info.py +0 -36
  666. package/.venv/lib/python3.9/site-packages/setuptools/command/easy_install.py +0 -2304
  667. package/.venv/lib/python3.9/site-packages/setuptools/command/egg_info.py +0 -755
  668. package/.venv/lib/python3.9/site-packages/setuptools/command/install.py +0 -132
  669. package/.venv/lib/python3.9/site-packages/setuptools/command/install_egg_info.py +0 -62
  670. package/.venv/lib/python3.9/site-packages/setuptools/command/install_lib.py +0 -122
  671. package/.venv/lib/python3.9/site-packages/setuptools/command/install_scripts.py +0 -69
  672. package/.venv/lib/python3.9/site-packages/setuptools/command/launcher manifest.xml +0 -15
  673. package/.venv/lib/python3.9/site-packages/setuptools/command/py36compat.py +0 -134
  674. package/.venv/lib/python3.9/site-packages/setuptools/command/register.py +0 -18
  675. package/.venv/lib/python3.9/site-packages/setuptools/command/rotate.py +0 -64
  676. package/.venv/lib/python3.9/site-packages/setuptools/command/saveopts.py +0 -22
  677. package/.venv/lib/python3.9/site-packages/setuptools/command/sdist.py +0 -196
  678. package/.venv/lib/python3.9/site-packages/setuptools/command/setopt.py +0 -149
  679. package/.venv/lib/python3.9/site-packages/setuptools/command/test.py +0 -252
  680. package/.venv/lib/python3.9/site-packages/setuptools/command/upload.py +0 -17
  681. package/.venv/lib/python3.9/site-packages/setuptools/command/upload_docs.py +0 -202
  682. package/.venv/lib/python3.9/site-packages/setuptools/config.py +0 -751
  683. package/.venv/lib/python3.9/site-packages/setuptools/dep_util.py +0 -25
  684. package/.venv/lib/python3.9/site-packages/setuptools/depends.py +0 -176
  685. package/.venv/lib/python3.9/site-packages/setuptools/dist.py +0 -1156
  686. package/.venv/lib/python3.9/site-packages/setuptools/errors.py +0 -40
  687. package/.venv/lib/python3.9/site-packages/setuptools/extension.py +0 -55
  688. package/.venv/lib/python3.9/site-packages/setuptools/extern/__init__.py +0 -73
  689. package/.venv/lib/python3.9/site-packages/setuptools/glob.py +0 -167
  690. package/.venv/lib/python3.9/site-packages/setuptools/gui-32.exe +0 -0
  691. package/.venv/lib/python3.9/site-packages/setuptools/gui-64.exe +0 -0
  692. package/.venv/lib/python3.9/site-packages/setuptools/gui-arm64.exe +0 -0
  693. package/.venv/lib/python3.9/site-packages/setuptools/gui.exe +0 -0
  694. package/.venv/lib/python3.9/site-packages/setuptools/installer.py +0 -104
  695. package/.venv/lib/python3.9/site-packages/setuptools/launch.py +0 -36
  696. package/.venv/lib/python3.9/site-packages/setuptools/logging.py +0 -30
  697. package/.venv/lib/python3.9/site-packages/setuptools/monkey.py +0 -177
  698. package/.venv/lib/python3.9/site-packages/setuptools/msvc.py +0 -1805
  699. package/.venv/lib/python3.9/site-packages/setuptools/namespaces.py +0 -107
  700. package/.venv/lib/python3.9/site-packages/setuptools/package_index.py +0 -1127
  701. package/.venv/lib/python3.9/site-packages/setuptools/py34compat.py +0 -13
  702. package/.venv/lib/python3.9/site-packages/setuptools/sandbox.py +0 -530
  703. package/.venv/lib/python3.9/site-packages/setuptools/script (dev).tmpl +0 -6
  704. package/.venv/lib/python3.9/site-packages/setuptools/script.tmpl +0 -3
  705. package/.venv/lib/python3.9/site-packages/setuptools/tests/integration/__init__.py +0 -0
  706. package/.venv/lib/python3.9/site-packages/setuptools/tests/integration/helpers.py +0 -61
  707. package/.venv/lib/python3.9/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +0 -218
  708. package/.venv/lib/python3.9/site-packages/setuptools/unicode_utils.py +0 -42
  709. package/.venv/lib/python3.9/site-packages/setuptools/version.py +0 -6
  710. package/.venv/lib/python3.9/site-packages/setuptools/wheel.py +0 -213
  711. package/.venv/lib/python3.9/site-packages/setuptools/windows_support.py +0 -29
  712. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/INSTALLER +0 -1
  713. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/LICENSE +0 -19
  714. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/METADATA +0 -142
  715. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/RECORD +0 -308
  716. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/REQUESTED +0 -0
  717. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/WHEEL +0 -5
  718. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/entry_points.txt +0 -56
  719. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/top_level.txt +0 -3
  720. package/.venv/pyvenv.cfg +0 -3
  721. package/.vscode/launch.json +0 -62
  722. package/.vscode/settings.json +0 -8
@@ -1,1013 +0,0 @@
1
- # -*- Mode: Python; py-indent-offset: 4 -*-
2
- # vim: tabstop=4 shiftwidth=4 expandtab
3
- #
4
- # Copyright (C) 2010 Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
5
- # Copyright (C) 2011, 2012 Canonical Ltd.
6
- #
7
- # This library is free software; you can redistribute it and/or
8
- # modify it under the terms of the GNU Lesser General Public
9
- # License as published by the Free Software Foundation; either
10
- # version 2.1 of the License, or (at your option) any later version.
11
- #
12
- # This library is distributed in the hope that it will be useful,
13
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
- # Lesser General Public License for more details.
16
- #
17
- # You should have received a copy of the GNU Lesser General Public
18
- # License along with this library; if not, write to the Free Software
19
- # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
20
- # USA
21
-
22
- import signal
23
- import warnings
24
- import sys
25
-
26
- from pgi.gerror import PGError as GError
27
- from pgi.overrides import get_introspection_module, override, deprecated, \
28
- deprecated_attr
29
- from pgi.util import PyGIDeprecationWarning
30
- from pgi import version_info
31
- from pgi.static import (source_new, Enum, Flags,
32
- source_set_callback, io_channel_read)
33
- from pgi import static as _gobject
34
- from pgi import static as _glib
35
-
36
-
37
- GLib = get_introspection_module('GLib')
38
-
39
- __all__ = []
40
-
41
- __all__ += ["Enum", "Flags"]
42
-
43
- _glib._init_glib(GLib)
44
- Error = GError
45
- OptionContext = _glib.OptionContext
46
- OptionGroup = _glib.OptionGroup
47
- Pid = _glib.Pid
48
-
49
-
50
- spawn_async = _glib.spawn_async
51
- """spawn_async(argv, envp=None, working_directory=None, flags=GLib.SpawnFlags.DEFAULT, child_setup=None, user_data=None, standard_input=False, standard_output=False, standard_error=False)
52
-
53
- :param argv: child's argument vector
54
- :type argv: [:obj:`str`]
55
-
56
- :param envp: child's environment, or :obj:`None` to inherit parent's
57
- :type envp: [:obj:`str`] or :obj:`None`
58
-
59
- :param flags: flags from :obj:`GLib.SpawnFlags`
60
- :type flags: :obj:`GLib.SpawnFlags`
61
-
62
- :param child_setup: function to run in the child just before exec()
63
- :type child_setup: :obj:`GLib.SpawnChildSetupFunc` or :obj:`None`
64
-
65
- :param user_data: user data for `child_setup`
66
- :type user_data: :obj:`object` or :obj:`None`
67
-
68
- :param standard_input: pipe stdin if :obj:`True`
69
- :type standard_input: :obj:`bool`
70
-
71
- :param standard_output: pipe stdout if :obj:`True`
72
- :type standard_output: :obj:`bool`
73
-
74
- :param standard_error: pipe stderr if :obj:`True`
75
- :type standard_error: :obj:`bool`
76
-
77
- :raises: :class:`GLib.Error`
78
-
79
- :returns:
80
- :pid: child process ID
81
- :stdin: file descriptor to child's stdin, or :obj:`None`
82
- :stdout: file descriptor to read child's stdout, or :obj:`None`
83
- :stderr: file descriptor to read child's stderr, or :obj:`None`
84
-
85
- :rtype: (**pid**: :obj:`int`, **stdin**: :obj:`int` or :obj:`None`, **stdout**: :obj:`int` or :obj:`None`, **stderr**: :obj:`int` or :obj:`None`)
86
-
87
- See :obj:`GLib.spawn_async_with_pipes`\() for a full description; this function
88
- simply calls the :obj:`GLib.spawn_async_with_pipes`\()
89
-
90
- You should call :obj:`GLib.spawn_close_pid`\() on the returned child process
91
- reference when you don't need it any more.
92
-
93
- In case `standard_input`/`standard_output`/`standard_error` are True a file
94
- descriptor is returned which needs to be closed by the caller after it is no
95
- longer needed.
96
- """
97
-
98
-
99
- def variant_type_from_string(s):
100
- return GLib.VariantType.new(s)
101
-
102
- def threads_init():
103
- warnings.warn('Since version 3.11, calling threads_init is no longer needed. '
104
- 'See: https://wiki.gnome.org/PyGObject/Threading',
105
- PyGIDeprecationWarning, stacklevel=2)
106
-
107
-
108
- def gerror_matches(self, domain, code):
109
- # Handle cases where self.domain was set to an integer for compatibility
110
- # with the introspected GLib.Error.
111
- if isinstance(self.domain, str):
112
- self_domain_quark = GLib.quark_from_string(self.domain)
113
- else:
114
- self_domain_quark = self.domain
115
- return (self_domain_quark, self.code) == (domain, code)
116
-
117
-
118
- def gerror_new_literal(domain, message, code):
119
- domain_quark = GLib.quark_to_string(domain)
120
- return GError(message, domain_quark, code)
121
-
122
-
123
- # Monkey patch methods that rely on GLib introspection to be loaded at runtime.
124
- Error.__name__ = 'Error'
125
- Error.__module__ = 'GLib'
126
- Error.matches = gerror_matches
127
- Error.new_literal = staticmethod(gerror_new_literal)
128
-
129
-
130
- __all__ += ['GError', 'Error', 'OptionContext', 'OptionGroup', 'Pid',
131
- 'spawn_async', 'threads_init']
132
-
133
-
134
- class _VariantCreator(object):
135
-
136
- _LEAF_CONSTRUCTORS = {
137
- 'b': GLib.Variant.new_boolean,
138
- 'y': GLib.Variant.new_byte,
139
- 'n': GLib.Variant.new_int16,
140
- 'q': GLib.Variant.new_uint16,
141
- 'i': GLib.Variant.new_int32,
142
- 'u': GLib.Variant.new_uint32,
143
- 'x': GLib.Variant.new_int64,
144
- 't': GLib.Variant.new_uint64,
145
- 'h': GLib.Variant.new_handle,
146
- 'd': GLib.Variant.new_double,
147
- 's': GLib.Variant.new_string,
148
- 'o': GLib.Variant.new_object_path,
149
- 'g': GLib.Variant.new_signature,
150
- 'v': GLib.Variant.new_variant,
151
- }
152
-
153
- def _create(self, format, args):
154
- """Create a GVariant object from given format and argument list.
155
-
156
- This method recursively calls itself for complex structures (arrays,
157
- dictionaries, boxed).
158
-
159
- Return a tuple (variant, rest_format, rest_args) with the generated
160
- GVariant, the remainder of the format string, and the remainder of the
161
- arguments.
162
-
163
- If args is None, then this won't actually consume any arguments, and
164
- just parse the format string and generate empty GVariant structures.
165
- This is required for creating empty dictionaries or arrays.
166
- """
167
- # leaves (simple types)
168
- constructor = self._LEAF_CONSTRUCTORS.get(format[0])
169
- if constructor:
170
- if args is not None:
171
- if not args:
172
- raise TypeError('not enough arguments for GVariant format string')
173
- v = constructor(args[0])
174
- return (v, format[1:], args[1:])
175
- else:
176
- return (None, format[1:], None)
177
-
178
- if format[0] == '(':
179
- return self._create_tuple(format, args)
180
-
181
- if format.startswith('a{'):
182
- return self._create_dict(format, args)
183
-
184
- if format[0] == 'a':
185
- return self._create_array(format, args)
186
-
187
- raise NotImplementedError('cannot handle GVariant type ' + format)
188
-
189
- def _create_tuple(self, format, args):
190
- """Handle the case where the outermost type of format is a tuple."""
191
-
192
- format = format[1:] # eat the '('
193
- if args is None:
194
- # empty value: we need to call _create() to parse the subtype
195
- rest_format = format
196
- while rest_format:
197
- if rest_format.startswith(')'):
198
- break
199
- rest_format = self._create(rest_format, None)[1]
200
- else:
201
- raise TypeError('tuple type string not closed with )')
202
-
203
- rest_format = rest_format[1:] # eat the )
204
- return (None, rest_format, None)
205
- else:
206
- if not args or not isinstance(args[0], tuple):
207
- raise TypeError('expected tuple argument')
208
-
209
- builder = GLib.VariantBuilder.new(variant_type_from_string('r'))
210
- for i in range(len(args[0])):
211
- if format.startswith(')'):
212
- raise TypeError('too many arguments for tuple signature')
213
-
214
- (v, format, _) = self._create(format, args[0][i:])
215
- builder.add_value(v)
216
- args = args[1:]
217
- if not format.startswith(')'):
218
- raise TypeError('tuple type string not closed with )')
219
-
220
- rest_format = format[1:] # eat the )
221
- return (builder.end(), rest_format, args)
222
-
223
- def _create_dict(self, format, args):
224
- """Handle the case where the outermost type of format is a dict."""
225
-
226
- builder = None
227
- if args is None or not args[0]:
228
- # empty value: we need to call _create() to parse the subtype,
229
- # and specify the element type precisely
230
- rest_format = self._create(format[2:], None)[1]
231
- rest_format = self._create(rest_format, None)[1]
232
- if not rest_format.startswith('}'):
233
- raise TypeError('dictionary type string not closed with }')
234
- rest_format = rest_format[1:] # eat the }
235
- element_type = format[:len(format) - len(rest_format)]
236
- builder = GLib.VariantBuilder.new(variant_type_from_string(element_type))
237
- else:
238
- builder = GLib.VariantBuilder.new(variant_type_from_string('a{?*}'))
239
- for k, v in args[0].items():
240
- (key_v, rest_format, _) = self._create(format[2:], [k])
241
- (val_v, rest_format, _) = self._create(rest_format, [v])
242
-
243
- if not rest_format.startswith('}'):
244
- raise TypeError('dictionary type string not closed with }')
245
- rest_format = rest_format[1:] # eat the }
246
-
247
- entry = GLib.VariantBuilder.new(variant_type_from_string('{?*}'))
248
- entry.add_value(key_v)
249
- entry.add_value(val_v)
250
- builder.add_value(entry.end())
251
-
252
- if args is not None:
253
- args = args[1:]
254
- return (builder.end(), rest_format, args)
255
-
256
- def _create_array(self, format, args):
257
- """Handle the case where the outermost type of format is an array."""
258
-
259
- builder = None
260
- if args is None or not args[0]:
261
- # empty value: we need to call _create() to parse the subtype,
262
- # and specify the element type precisely
263
- rest_format = self._create(format[1:], None)[1]
264
- element_type = format[:len(format) - len(rest_format)]
265
- builder = GLib.VariantBuilder.new(variant_type_from_string(element_type))
266
- else:
267
- builder = GLib.VariantBuilder.new(variant_type_from_string('a*'))
268
- for i in range(len(args[0])):
269
- (v, rest_format, _) = self._create(format[1:], args[0][i:])
270
- builder.add_value(v)
271
- if args is not None:
272
- args = args[1:]
273
- return (builder.end(), rest_format, args)
274
-
275
-
276
- class Variant(GLib.Variant):
277
- def __new__(cls, format_string, value):
278
- """Create a GVariant from a native Python object.
279
-
280
- format_string is a standard GVariant type signature, value is a Python
281
- object whose structure has to match the signature.
282
-
283
- Examples:
284
- GLib.Variant('i', 1)
285
- GLib.Variant('(is)', (1, 'hello'))
286
- GLib.Variant('(asa{sv})', ([], {'foo': GLib.Variant('b', True),
287
- 'bar': GLib.Variant('i', 2)}))
288
- """
289
- creator = _VariantCreator()
290
- (v, rest_format, _) = creator._create(format_string, [value])
291
- if rest_format:
292
- raise TypeError('invalid remaining format string: "%s"' % rest_format)
293
- v.format_string = format_string
294
- return v
295
-
296
- # Called by Python on the result of __new__, shall do nothing.
297
- def __init__(self, format_string, value):
298
- assert(self.format_string == format_string)
299
-
300
- @staticmethod
301
- def new_tuple(*elements):
302
- return GLib.Variant.new_tuple(elements)
303
-
304
- def __del__(self):
305
- self.unref()
306
-
307
- try:
308
- GLib.Variant.print_
309
- except AttributeError:
310
- # Python 3
311
- def print_(self, type_annotate):
312
- return getattr(self, "print")(type_annotate)
313
-
314
- def __str__(self):
315
- return self.print_(True)
316
-
317
- def __repr__(self):
318
- if hasattr(self, 'format_string'):
319
- f = self.format_string
320
- else:
321
- f = self.get_type_string()
322
- return "GLib.Variant('%s', %s)" % (f, self.print_(False))
323
-
324
- def __eq__(self, other):
325
- try:
326
- return self.equal(other)
327
- except TypeError:
328
- return False
329
-
330
- def __ne__(self, other):
331
- try:
332
- return not self.equal(other)
333
- except TypeError:
334
- return True
335
-
336
- def __hash__(self):
337
- # We're not using just hash(self.unpack()) because otherwise we'll have
338
- # hash collisions between the same content in different variant types,
339
- # which will cause a performance issue in set/dict/etc.
340
- return hash((self.get_type_string(), self.unpack()))
341
-
342
- def unpack(self):
343
- """Decompose a GVariant into a native Python object."""
344
-
345
- LEAF_ACCESSORS = {
346
- 'b': self.get_boolean,
347
- 'y': self.get_byte,
348
- 'n': self.get_int16,
349
- 'q': self.get_uint16,
350
- 'i': self.get_int32,
351
- 'u': self.get_uint32,
352
- 'x': self.get_int64,
353
- 't': self.get_uint64,
354
- 'h': self.get_handle,
355
- 'd': self.get_double,
356
- 's': self.get_string,
357
- 'o': self.get_string, # object path
358
- 'g': self.get_string, # signature
359
- }
360
-
361
- # simple values
362
- la = LEAF_ACCESSORS.get(self.get_type_string())
363
- if la:
364
- return la()
365
-
366
- # tuple
367
- if self.get_type_string().startswith('('):
368
- res = [self.get_child_value(i).unpack()
369
- for i in range(self.n_children())]
370
- return tuple(res)
371
-
372
- # dictionary
373
- if self.get_type_string().startswith('a{'):
374
- res = {}
375
- for i in range(self.n_children()):
376
- v = self.get_child_value(i)
377
- res[v.get_child_value(0).unpack()] = v.get_child_value(1).unpack()
378
- return res
379
-
380
- # array
381
- if self.get_type_string().startswith('a'):
382
- return [self.get_child_value(i).unpack()
383
- for i in range(self.n_children())]
384
-
385
- # variant (just unbox transparently)
386
- if self.get_type_string().startswith('v'):
387
- return self.get_variant().unpack()
388
-
389
- # maybe
390
- if self.get_type_string().startswith('m'):
391
- m = self.get_maybe()
392
- return m.unpack() if m else None
393
-
394
- raise NotImplementedError('unsupported GVariant type ' + self.get_type_string())
395
-
396
- @classmethod
397
- def split_signature(klass, signature):
398
- """Return a list of the element signatures of the topmost signature tuple.
399
-
400
- If the signature is not a tuple, it returns one element with the entire
401
- signature. If the signature is an empty tuple, the result is [].
402
-
403
- This is useful for e. g. iterating over method parameters which are
404
- passed as a single Variant.
405
- """
406
- if signature == '()':
407
- return []
408
-
409
- if not signature.startswith('('):
410
- return [signature]
411
-
412
- result = []
413
- head = ''
414
- tail = signature[1:-1] # eat the surrounding ()
415
- while tail:
416
- c = tail[0]
417
- head += c
418
- tail = tail[1:]
419
-
420
- if c in ('m', 'a'):
421
- # prefixes, keep collecting
422
- continue
423
- if c in ('(', '{'):
424
- # consume until corresponding )/}
425
- level = 1
426
- up = c
427
- if up == '(':
428
- down = ')'
429
- else:
430
- down = '}'
431
- while level > 0:
432
- c = tail[0]
433
- head += c
434
- tail = tail[1:]
435
- if c == up:
436
- level += 1
437
- elif c == down:
438
- level -= 1
439
-
440
- # otherwise we have a simple type
441
- result.append(head)
442
- head = ''
443
-
444
- return result
445
-
446
- #
447
- # Pythonic iterators
448
- #
449
-
450
- def __len__(self):
451
- if self.get_type_string() in ['s', 'o', 'g']:
452
- return len(self.get_string())
453
- # Array, dict, tuple
454
- if self.get_type_string().startswith('a') or self.get_type_string().startswith('('):
455
- return self.n_children()
456
- raise TypeError('GVariant type %s does not have a length' % self.get_type_string())
457
-
458
- def __getitem__(self, key):
459
- # dict
460
- if self.get_type_string().startswith('a{'):
461
- try:
462
- val = self.lookup_value(key, variant_type_from_string('*'))
463
- if val is None:
464
- raise KeyError(key)
465
- return val.unpack()
466
- except TypeError:
467
- # lookup_value() only works for string keys, which is certainly
468
- # the common case; we have to do painful iteration for other
469
- # key types
470
- for i in range(self.n_children()):
471
- v = self.get_child_value(i)
472
- if v.get_child_value(0).unpack() == key:
473
- return v.get_child_value(1).unpack()
474
- raise KeyError(key)
475
-
476
- # array/tuple
477
- if self.get_type_string().startswith('a') or self.get_type_string().startswith('('):
478
- key = int(key)
479
- if key < 0:
480
- key = self.n_children() + key
481
- if key < 0 or key >= self.n_children():
482
- raise IndexError('list index out of range')
483
- return self.get_child_value(key).unpack()
484
-
485
- # string
486
- if self.get_type_string() in ['s', 'o', 'g']:
487
- return self.get_string().__getitem__(key)
488
-
489
- raise TypeError('GVariant type %s is not a container' % self.get_type_string())
490
-
491
- #
492
- # Pythonic bool operations
493
- #
494
-
495
- def __nonzero__(self):
496
- return self.__bool__()
497
-
498
- def __bool__(self):
499
- if self.get_type_string() in ['y', 'n', 'q', 'i', 'u', 'x', 't', 'h', 'd']:
500
- return self.unpack() != 0
501
- if self.get_type_string() in ['b']:
502
- return self.get_boolean()
503
- if self.get_type_string() in ['s', 'o', 'g']:
504
- return len(self.get_string()) != 0
505
- # Array, dict, tuple
506
- if self.get_type_string().startswith('a') or self.get_type_string().startswith('('):
507
- return self.n_children() != 0
508
- if self.get_type_string() in ['v']:
509
- # unpack works recursively, hence bool also works recursively
510
- return bool(self.unpack())
511
- # Everything else is True
512
- return True
513
-
514
- def keys(self):
515
- if not self.get_type_string().startswith('a{'):
516
- return TypeError, 'GVariant type %s is not a dictionary' % self.get_type_string()
517
-
518
- res = []
519
- for i in range(self.n_children()):
520
- v = self.get_child_value(i)
521
- res.append(v.get_child_value(0).unpack())
522
- return res
523
-
524
-
525
- def get_string(self):
526
- value, length = GLib.Variant.get_string(self)
527
- return value
528
-
529
- setattr(Variant, 'get_string', get_string)
530
-
531
- __all__.append('Variant')
532
-
533
-
534
- def markup_escape_text(text, length=-1):
535
- if isinstance(text, bytes):
536
- return GLib.markup_escape_text(text.decode('UTF-8'), length)
537
- else:
538
- return GLib.markup_escape_text(text, length)
539
- __all__.append('markup_escape_text')
540
-
541
-
542
- # backwards compatible names from old static bindings
543
- for n in ['DESKTOP', 'DOCUMENTS', 'DOWNLOAD', 'MUSIC', 'PICTURES',
544
- 'PUBLIC_SHARE', 'TEMPLATES', 'VIDEOS']:
545
- attr = 'USER_DIRECTORY_' + n
546
- deprecated_attr("GLib", attr, "GLib.UserDirectory.DIRECTORY_" + n)
547
- globals()[attr] = getattr(GLib.UserDirectory, 'DIRECTORY_' + n)
548
- __all__.append(attr)
549
-
550
- for n in ['ERR', 'HUP', 'IN', 'NVAL', 'OUT', 'PRI']:
551
- globals()['IO_' + n] = getattr(GLib.IOCondition, n)
552
- __all__.append('IO_' + n)
553
-
554
- for n in ['APPEND', 'GET_MASK', 'IS_READABLE', 'IS_SEEKABLE',
555
- 'MASK', 'NONBLOCK', 'SET_MASK']:
556
- attr = 'IO_FLAG_' + n
557
- deprecated_attr("GLib", attr, "GLib.IOFlags." + n)
558
- globals()[attr] = getattr(GLib.IOFlags, n)
559
- __all__.append(attr)
560
-
561
- # spelling for the win
562
- IO_FLAG_IS_WRITEABLE = GLib.IOFlags.IS_WRITABLE
563
- deprecated_attr("GLib", "IO_FLAG_IS_WRITEABLE", "GLib.IOFlags.IS_WRITABLE")
564
- __all__.append('IO_FLAG_IS_WRITEABLE')
565
-
566
- for n in ['AGAIN', 'EOF', 'ERROR', 'NORMAL']:
567
- attr = 'IO_STATUS_' + n
568
- globals()[attr] = getattr(GLib.IOStatus, n)
569
- deprecated_attr("GLib", attr, "GLib.IOStatus." + n)
570
- __all__.append(attr)
571
-
572
- for n in ['CHILD_INHERITS_STDIN', 'DO_NOT_REAP_CHILD', 'FILE_AND_ARGV_ZERO',
573
- 'LEAVE_DESCRIPTORS_OPEN', 'SEARCH_PATH', 'STDERR_TO_DEV_NULL',
574
- 'STDOUT_TO_DEV_NULL']:
575
- attr = 'SPAWN_' + n
576
- globals()[attr] = getattr(GLib.SpawnFlags, n)
577
- deprecated_attr("GLib", attr, "GLib.SpawnFlags." + n)
578
- __all__.append(attr)
579
-
580
- for n in ['HIDDEN', 'IN_MAIN', 'REVERSE', 'NO_ARG', 'FILENAME', 'OPTIONAL_ARG',
581
- 'NOALIAS']:
582
- attr = 'OPTION_FLAG_' + n
583
- globals()[attr] = getattr(GLib.OptionFlags, n)
584
- deprecated_attr("GLib", attr, "GLib.OptionFlags." + n)
585
- __all__.append(attr)
586
-
587
- for n in ['UNKNOWN_OPTION', 'BAD_VALUE', 'FAILED']:
588
- attr = 'OPTION_ERROR_' + n
589
- deprecated_attr("GLib", attr, "GLib.OptionError." + n)
590
- globals()[attr] = getattr(GLib.OptionError, n)
591
- __all__.append(attr)
592
-
593
-
594
- # these are not currently exported in GLib gir, presumably because they are
595
- # platform dependent; so get them from our static bindings
596
- for name in ['G_MINFLOAT', 'G_MAXFLOAT', 'G_MINDOUBLE', 'G_MAXDOUBLE',
597
- 'G_MINSHORT', 'G_MAXSHORT', 'G_MAXUSHORT', 'G_MININT', 'G_MAXINT',
598
- 'G_MAXUINT', 'G_MINLONG', 'G_MAXLONG', 'G_MAXULONG', 'G_MAXSIZE',
599
- 'G_MINSSIZE', 'G_MAXSSIZE', 'G_MINOFFSET', 'G_MAXOFFSET']:
600
- attr = name.split("_", 1)[-1]
601
- globals()[attr] = getattr(_gobject, name)
602
- __all__.append(attr)
603
-
604
-
605
- class MainLoop(GLib.MainLoop):
606
- # Backwards compatible constructor API
607
- def __new__(cls, context=None):
608
- return GLib.MainLoop.new(context, False)
609
-
610
- # Retain classic pygobject behaviour of quitting main loops on SIGINT
611
- def __init__(self, context=None):
612
- def _handler(loop):
613
- loop.quit()
614
- loop._quit_by_sigint = True
615
- # We handle signal deletion in __del__, return True so GLib
616
- # doesn't do the deletion for us.
617
- return True
618
-
619
- if sys.platform != 'win32':
620
- # compatibility shim, keep around until we depend on glib 2.36
621
- if hasattr(GLib, 'unix_signal_add'):
622
- fn = GLib.unix_signal_add
623
- else:
624
- fn = GLib.unix_signal_add_full
625
- self._signal_source = fn(GLib.PRIORITY_DEFAULT, signal.SIGINT, _handler, self)
626
-
627
- def __del__(self):
628
- if hasattr(self, '_signal_source'):
629
- GLib.source_remove(self._signal_source)
630
-
631
- def run(self):
632
- super(MainLoop, self).run()
633
- if hasattr(self, '_quit_by_sigint'):
634
- # caught by _main_loop_sigint_handler()
635
- raise KeyboardInterrupt
636
-
637
- MainLoop = override(MainLoop)
638
- __all__.append('MainLoop')
639
-
640
-
641
- class MainContext(GLib.MainContext):
642
- # Backwards compatible API with default value
643
- def iteration(self, may_block=True):
644
- return super(MainContext, self).iteration(may_block)
645
-
646
- MainContext = override(MainContext)
647
- __all__.append('MainContext')
648
-
649
-
650
- class Source(GLib.Source):
651
- def __new__(cls, *args, **kwargs):
652
- # use our custom pyg_source_new() here as g_source_new() is not
653
- # bindable
654
- source = source_new()
655
- source.__class__ = cls
656
- setattr(source, '__pygi_custom_source', True)
657
- return source
658
-
659
- def __init__(self, *args, **kwargs):
660
- return super(Source, self).__init__()
661
-
662
- def set_callback(self, fn, user_data=None):
663
- if hasattr(self, '__pygi_custom_source'):
664
- # use our custom pyg_source_set_callback() if for a GSource object
665
- # with custom functions
666
- source_set_callback(self, fn, user_data)
667
- else:
668
- # otherwise, for Idle and Timeout, use the standard method
669
- super(Source, self).set_callback(fn, user_data)
670
-
671
- def get_current_time(self):
672
- return GLib.get_real_time() * 0.000001
673
-
674
- get_current_time = deprecated(get_current_time, 'GLib.Source.get_time() or GLib.get_real_time()')
675
- """get_current_time()
676
-
677
- :returns: Time in seconds since the Epoch
678
- :rtype: float
679
-
680
- {{ docs }}
681
- """
682
-
683
- # as get/set_priority are introspected, we can't use the static
684
- # property(get_priority, ..) here
685
- def __get_priority(self):
686
- return self.get_priority()
687
-
688
- def __set_priority(self, value):
689
- self.set_priority(value)
690
-
691
- priority = property(__get_priority, __set_priority)
692
-
693
- def __get_can_recurse(self):
694
- return self.get_can_recurse()
695
-
696
- def __set_can_recurse(self, value):
697
- self.set_can_recurse(value)
698
-
699
- can_recurse = property(__get_can_recurse, __set_can_recurse)
700
-
701
- Source = override(Source)
702
- __all__.append('Source')
703
-
704
-
705
- class Idle(Source):
706
- def __new__(cls, priority=GLib.PRIORITY_DEFAULT):
707
- source = GLib.idle_source_new()
708
- source.__class__ = cls
709
- return source
710
-
711
- def __init__(self, priority=GLib.PRIORITY_DEFAULT):
712
- super(Source, self).__init__()
713
- if priority != GLib.PRIORITY_DEFAULT:
714
- self.set_priority(priority)
715
-
716
- __all__.append('Idle')
717
-
718
-
719
- class Timeout(Source):
720
- def __new__(cls, interval=0, priority=GLib.PRIORITY_DEFAULT):
721
- source = GLib.timeout_source_new(interval)
722
- source.__class__ = cls
723
- return source
724
-
725
- def __init__(self, interval=0, priority=GLib.PRIORITY_DEFAULT):
726
- if priority != GLib.PRIORITY_DEFAULT:
727
- self.set_priority(priority)
728
-
729
- __all__.append('Timeout')
730
-
731
-
732
- # backwards compatible API
733
-
734
- # These functions will incorrectly be called with None as last argument, so
735
- # work around that with wrappers.
736
-
737
- def idle_add(function, *user_data, **kwargs):
738
- priority = kwargs.get('priority', GLib.PRIORITY_DEFAULT_IDLE)
739
- return GLib.idle_add(priority, lambda _: function(*user_data))
740
-
741
- __all__.append('idle_add')
742
-
743
-
744
- def timeout_add(interval, function, *user_data, **kwargs):
745
- priority = kwargs.get('priority', GLib.PRIORITY_DEFAULT)
746
- return GLib.timeout_add(priority, interval, lambda _: function(*user_data))
747
-
748
- __all__.append('timeout_add')
749
-
750
-
751
- def timeout_add_seconds(interval, function, *user_data, **kwargs):
752
- priority = kwargs.get('priority', GLib.PRIORITY_DEFAULT)
753
- return GLib.timeout_add_seconds(
754
- priority, interval, lambda _: function(*user_data))
755
-
756
- __all__.append('timeout_add_seconds')
757
-
758
-
759
- # The GI GLib API uses g_io_add_watch_full renamed to g_io_add_watch with
760
- # a signature of (channel, priority, condition, func, user_data).
761
- # Prior to PyGObject 3.8, this function was statically bound with an API closer to the
762
- # non-full version with a signature of: (fd, condition, func, *user_data)
763
- # We need to support this until we are okay with breaking API in a way which is
764
- # not backwards compatible.
765
- #
766
- # This needs to take into account several historical APIs:
767
- # - calling with an fd as first argument
768
- # - calling with a Python file object as first argument (we keep this one as
769
- # it's really convenient and does not change the number of arguments)
770
- # - calling without a priority as second argument
771
- def _io_add_watch_get_args(channel, priority_, condition, *cb_and_user_data, **kwargs):
772
- if not isinstance(priority_, int) or isinstance(priority_, GLib.IOCondition):
773
- warnings.warn('Calling io_add_watch without priority as second argument is deprecated',
774
- PyGIDeprecationWarning)
775
- # shift the arguments around
776
- user_data = cb_and_user_data
777
- callback = condition
778
- condition = priority_
779
- if not callable(callback):
780
- raise TypeError('third argument must be callable')
781
-
782
- # backwards compatibility: Call with priority kwarg
783
- if 'priority' in kwargs:
784
- warnings.warn('Calling io_add_watch with priority keyword argument is deprecated, put it as second positional argument',
785
- PyGIDeprecationWarning)
786
- priority_ = kwargs['priority']
787
- else:
788
- priority_ = GLib.PRIORITY_DEFAULT
789
- else:
790
- if len(cb_and_user_data) < 1 or not callable(cb_and_user_data[0]):
791
- raise TypeError('expecting callback as fourth argument')
792
- callback = cb_and_user_data[0]
793
- user_data = cb_and_user_data[1:]
794
-
795
- # backwards compatibility: Allow calling with fd
796
- if isinstance(channel, int):
797
- func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data)
798
- real_channel = GLib.IOChannel.unix_new(channel)
799
- elif hasattr(channel, 'fileno'):
800
- # backwards compatibility: Allow calling with Python file
801
- func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data)
802
- real_channel = GLib.IOChannel.unix_new(channel.fileno())
803
- else:
804
- assert isinstance(channel, GLib.IOChannel)
805
- func_fdtransform = callback
806
- real_channel = channel
807
-
808
- return real_channel, priority_, condition, func_fdtransform, user_data
809
-
810
- __all__.append('_io_add_watch_get_args')
811
-
812
-
813
- def io_add_watch(*args, **kwargs):
814
- """io_add_watch(channel, priority, condition, func, *user_data) -> event_source_id"""
815
- channel, priority, condition, func, user_data = _io_add_watch_get_args(*args, **kwargs)
816
- return GLib.io_add_watch(channel, priority, condition, func, *user_data)
817
-
818
- __all__.append('io_add_watch')
819
-
820
-
821
- # backwards compatible API
822
- class IOChannel(GLib.IOChannel):
823
- def __new__(cls, filedes=None, filename=None, mode=None, hwnd=None):
824
- if filedes is not None:
825
- return GLib.IOChannel.unix_new(filedes)
826
- if filename is not None:
827
- return GLib.IOChannel.new_file(filename, mode or 'r')
828
- if hwnd is not None:
829
- return GLib.IOChannel.win32_new_fd(hwnd)
830
- raise TypeError('either a valid file descriptor, file name, or window handle must be supplied')
831
-
832
- def __init__(self, *args, **kwargs):
833
- return super(IOChannel, self).__init__()
834
-
835
- def read(self, max_count=-1):
836
- return io_channel_read(self, max_count)
837
-
838
- def readline(self, size_hint=-1):
839
- # note, size_hint is just to maintain backwards compatible API; the
840
- # old static binding did not actually use it
841
- (status, buf, length, terminator_pos) = self.read_line()
842
- if buf is None:
843
- return ''
844
- return buf
845
-
846
- def readlines(self, size_hint=-1):
847
- # note, size_hint is just to maintain backwards compatible API;
848
- # the old static binding did not actually use it
849
- lines = []
850
- status = GLib.IOStatus.NORMAL
851
- while status == GLib.IOStatus.NORMAL:
852
- (status, buf, length, terminator_pos) = self.read_line()
853
- # note, this appends an empty line after EOF; this is
854
- # bug-compatible with the old static bindings
855
- if buf is None:
856
- buf = ''
857
- lines.append(buf)
858
- return lines
859
-
860
- def write(self, buf, buflen=-1):
861
- if not isinstance(buf, bytes):
862
- buf = buf.encode('UTF-8')
863
- if buflen == -1:
864
- buflen = len(buf)
865
- (status, written) = self.write_chars(buf, buflen)
866
- return written
867
-
868
- def writelines(self, lines):
869
- for line in lines:
870
- self.write(line)
871
-
872
- _whence_map = {0: GLib.SeekType.SET, 1: GLib.SeekType.CUR, 2: GLib.SeekType.END}
873
-
874
- def seek(self, offset, whence=0):
875
- try:
876
- w = self._whence_map[whence]
877
- except KeyError:
878
- raise ValueError("invalid 'whence' value")
879
- return self.seek_position(offset, w)
880
-
881
- def add_watch(self, condition, callback, *user_data, **kwargs):
882
- priority = kwargs.get('priority', GLib.PRIORITY_DEFAULT)
883
- return io_add_watch(self, priority, condition, callback, *user_data)
884
-
885
- add_watch = deprecated(add_watch, 'GLib.io_add_watch()')
886
-
887
- def __iter__(self):
888
- return self
889
-
890
- def __next__(self):
891
- (status, buf, length, terminator_pos) = self.read_line()
892
- if status == GLib.IOStatus.NORMAL:
893
- return buf
894
- raise StopIteration
895
-
896
- # Python 2.x compatibility
897
- next = __next__
898
-
899
- IOChannel = override(IOChannel)
900
- __all__.append('IOChannel')
901
-
902
-
903
- class PollFD(GLib.PollFD):
904
- def __new__(cls, fd, events):
905
- pollfd = GLib.PollFD()
906
- pollfd.__class__ = cls
907
- return pollfd
908
-
909
- def __init__(self, fd, events):
910
- self.fd = fd
911
- self.events = events
912
-
913
- PollFD = override(PollFD)
914
- __all__.append('PollFD')
915
-
916
-
917
- # The GI GLib API uses g_child_watch_add_full renamed to g_child_watch_add with
918
- # a signature of (priority, pid, callback, data).
919
- # Prior to PyGObject 3.8, this function was statically bound with an API closer to the
920
- # non-full version with a signature of: (pid, callback, data=None, priority=GLib.PRIORITY_DEFAULT)
921
- # We need to support this until we are okay with breaking API in a way which is
922
- # not backwards compatible.
923
- def _child_watch_add_get_args(priority_or_pid, pid_or_callback, *args, **kwargs):
924
- user_data = []
925
-
926
- if callable(pid_or_callback):
927
- warnings.warn('Calling child_watch_add without priority as first argument is deprecated',
928
- PyGIDeprecationWarning)
929
- pid = priority_or_pid
930
- callback = pid_or_callback
931
- if len(args) == 0:
932
- priority = kwargs.get('priority', GLib.PRIORITY_DEFAULT)
933
- elif len(args) == 1:
934
- user_data = args
935
- priority = kwargs.get('priority', GLib.PRIORITY_DEFAULT)
936
- elif len(args) == 2:
937
- user_data = [args[0]]
938
- priority = args[1]
939
- else:
940
- raise TypeError('expected at most 4 positional arguments')
941
- else:
942
- priority = priority_or_pid
943
- pid = pid_or_callback
944
- if 'function' in kwargs:
945
- callback = kwargs['function']
946
- user_data = args
947
- elif len(args) > 0 and callable(args[0]):
948
- callback = args[0]
949
- user_data = args[1:]
950
- else:
951
- raise TypeError('expected callback as third argument')
952
-
953
- if 'data' in kwargs:
954
- if user_data:
955
- raise TypeError('got multiple values for "data" argument')
956
- user_data = [kwargs['data']]
957
-
958
- return priority, pid, callback, user_data
959
-
960
- # we need this to be accessible for unit testing
961
- __all__.append('_child_watch_add_get_args')
962
-
963
-
964
- def child_watch_add(*args, **kwargs):
965
- """child_watch_add(priority, pid, function, *data)"""
966
- priority, pid, function, data = _child_watch_add_get_args(*args, **kwargs)
967
- return GLib.child_watch_add(priority, pid, function, *data)
968
-
969
- __all__.append('child_watch_add')
970
-
971
-
972
- def get_current_time():
973
- return GLib.get_real_time() * 0.000001
974
-
975
- get_current_time = deprecated(get_current_time, 'GLib.get_real_time()')
976
- """get_current_time()
977
-
978
- :returns: Time in seconds since the Epoch
979
- :rtype: float
980
-
981
- {{ docs }}
982
- """
983
-
984
- __all__.append('get_current_time')
985
-
986
-
987
- # backwards compatible API with default argument, and ignoring bytes_read
988
- # output argument
989
- def filename_from_utf8(utf8string, len=-1):
990
- return GLib.filename_from_utf8(utf8string, len)[0]
991
-
992
- __all__.append('filename_from_utf8')
993
-
994
-
995
- # backwards compatible API for renamed function
996
- if not hasattr(GLib, 'unix_signal_add_full'):
997
- def add_full_compat(*args):
998
- warnings.warn('GLib.unix_signal_add_full() was renamed to GLib.unix_signal_add()',
999
- PyGIDeprecationWarning)
1000
- return GLib.unix_signal_add(*args)
1001
-
1002
- GLib.unix_signal_add_full = add_full_compat
1003
-
1004
-
1005
- # obsolete constants for backwards compatibility
1006
- glib_version = (GLib.MAJOR_VERSION, GLib.MINOR_VERSION, GLib.MICRO_VERSION)
1007
- __all__.append('glib_version')
1008
- deprecated_attr("GLib", "glib_version",
1009
- "(GLib.MAJOR_VERSION, GLib.MINOR_VERSION, GLib.MICRO_VERSION)")
1010
-
1011
- pyglib_version = version_info
1012
- __all__.append('pyglib_version')
1013
- deprecated_attr("GLib", "pyglib_version", "gi.version_info")