@scrypted/server 0.0.140 → 0.0.144

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 (719) hide show
  1. package/dist/plugin/media.js +14 -3
  2. package/dist/plugin/media.js.map +1 -1
  3. package/dist/rpc.js +9 -5
  4. package/dist/rpc.js.map +1 -1
  5. package/dist/runtime.js +6 -0
  6. package/dist/runtime.js.map +1 -1
  7. package/package.json +2 -2
  8. package/src/plugin/media.ts +15 -3
  9. package/src/rpc.ts +11 -3
  10. package/src/runtime.ts +7 -0
  11. package/.venv/bin/Activate.ps1 +0 -241
  12. package/.venv/bin/activate +0 -66
  13. package/.venv/bin/activate.csh +0 -25
  14. package/.venv/bin/activate.fish +0 -64
  15. package/.venv/bin/pip +0 -8
  16. package/.venv/bin/pip3 +0 -8
  17. package/.venv/bin/pip3.9 +0 -8
  18. package/.venv/lib/python3.9/site-packages/_distutils_hack/__init__.py +0 -198
  19. package/.venv/lib/python3.9/site-packages/_distutils_hack/override.py +0 -1
  20. package/.venv/lib/python3.9/site-packages/distutils-precedence.pth +0 -1
  21. package/.venv/lib/python3.9/site-packages/pgi/__init__.py +0 -62
  22. package/.venv/lib/python3.9/site-packages/pgi/_compat.py +0 -74
  23. package/.venv/lib/python3.9/site-packages/pgi/callback.py +0 -15
  24. package/.venv/lib/python3.9/site-packages/pgi/cffilib/__init__.py +0 -12
  25. package/.venv/lib/python3.9/site-packages/pgi/cffilib/_compat.py +0 -25
  26. package/.venv/lib/python3.9/site-packages/pgi/cffilib/_utils.py +0 -119
  27. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/__init__.py +0 -60
  28. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/_cdef.py +0 -574
  29. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/_ffi.py +0 -25
  30. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/error.py +0 -13
  31. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giarginfo.py +0 -73
  32. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giargument.py +0 -36
  33. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gibaseinfo.py +0 -113
  34. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gicallableinfo.py +0 -75
  35. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giconstantinfo.py +0 -22
  36. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gienuminfo.py +0 -59
  37. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gifieldinfo.py +0 -40
  38. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gifunctioninfo.py +0 -64
  39. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giinterfaceinfo.py +0 -93
  40. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giobjectinfo.py +0 -143
  41. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gipropertyinfo.py +0 -28
  42. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giregisteredtypeinfo.py +0 -27
  43. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/girepository.py +0 -143
  44. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gisignalinfo.py +0 -55
  45. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gistructinfo.py +0 -55
  46. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gitypeinfo.py +0 -66
  47. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gitypelib.py +0 -40
  48. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giunioninfo.py +0 -66
  49. package/.venv/lib/python3.9/site-packages/pgi/cffilib/glib/__init__.py +0 -8
  50. package/.venv/lib/python3.9/site-packages/pgi/cffilib/glib/_cdef.py +0 -101
  51. package/.venv/lib/python3.9/site-packages/pgi/cffilib/glib/glib.py +0 -260
  52. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gobject/__init__.py +0 -15
  53. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gobject/_cdef.py +0 -45
  54. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gobject/_ffi.py +0 -26
  55. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gobject/gobject.py +0 -27
  56. package/.venv/lib/python3.9/site-packages/pgi/clib/__init__.py +0 -11
  57. package/.venv/lib/python3.9/site-packages/pgi/clib/_compat.py +0 -20
  58. package/.venv/lib/python3.9/site-packages/pgi/clib/_utils.py +0 -213
  59. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/__init__.py +0 -71
  60. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/error.py +0 -13
  61. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giarginfo.py +0 -65
  62. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giargument.py +0 -58
  63. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gibaseinfo.py +0 -152
  64. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gicallableinfo.py +0 -203
  65. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giconstantinfo.py +0 -35
  66. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gienuminfo.py +0 -64
  67. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gifieldinfo.py +0 -46
  68. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giinterfaceinfo.py +0 -83
  69. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giobjectinfo.py +0 -134
  70. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gipropertyinfo.py +0 -36
  71. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giregisteredtypeinfo.py +0 -34
  72. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/girepository.py +0 -200
  73. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gistructinfo.py +0 -55
  74. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gitypeinfo.py +0 -97
  75. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gitypelib.py +0 -56
  76. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giunioninfo.py +0 -60
  77. package/.venv/lib/python3.9/site-packages/pgi/clib/glib.py +0 -336
  78. package/.venv/lib/python3.9/site-packages/pgi/clib/gobject.py +0 -405
  79. package/.venv/lib/python3.9/site-packages/pgi/codegen/__init__.py +0 -28
  80. package/.venv/lib/python3.9/site-packages/pgi/codegen/arguments.py +0 -640
  81. package/.venv/lib/python3.9/site-packages/pgi/codegen/backend.py +0 -95
  82. package/.venv/lib/python3.9/site-packages/pgi/codegen/cbargs.py +0 -152
  83. package/.venv/lib/python3.9/site-packages/pgi/codegen/cbreturn.py +0 -77
  84. package/.venv/lib/python3.9/site-packages/pgi/codegen/cffi_backend.py +0 -424
  85. package/.venv/lib/python3.9/site-packages/pgi/codegen/construct.py +0 -222
  86. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/__init__.py +0 -11
  87. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/main.py +0 -184
  88. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/types_basic.py +0 -705
  89. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/types_container.py +0 -236
  90. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/types_interface.py +0 -402
  91. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/types_other.py +0 -93
  92. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/utils.py +0 -168
  93. package/.venv/lib/python3.9/site-packages/pgi/codegen/fieldgen.py +0 -114
  94. package/.venv/lib/python3.9/site-packages/pgi/codegen/fields.py +0 -244
  95. package/.venv/lib/python3.9/site-packages/pgi/codegen/funcgen.py +0 -376
  96. package/.venv/lib/python3.9/site-packages/pgi/codegen/null_backend.py +0 -110
  97. package/.venv/lib/python3.9/site-packages/pgi/codegen/returnvalues.py +0 -443
  98. package/.venv/lib/python3.9/site-packages/pgi/codegen/siggen.py +0 -157
  99. package/.venv/lib/python3.9/site-packages/pgi/codegen/utils.py +0 -248
  100. package/.venv/lib/python3.9/site-packages/pgi/const.py +0 -9
  101. package/.venv/lib/python3.9/site-packages/pgi/constant.py +0 -32
  102. package/.venv/lib/python3.9/site-packages/pgi/debug.py +0 -31
  103. package/.venv/lib/python3.9/site-packages/pgi/enum.py +0 -244
  104. package/.venv/lib/python3.9/site-packages/pgi/field.py +0 -58
  105. package/.venv/lib/python3.9/site-packages/pgi/finalizer.py +0 -3
  106. package/.venv/lib/python3.9/site-packages/pgi/foreign/__init__.py +0 -71
  107. package/.venv/lib/python3.9/site-packages/pgi/foreign/_base.py +0 -43
  108. package/.venv/lib/python3.9/site-packages/pgi/foreign/cairo.py +0 -41
  109. package/.venv/lib/python3.9/site-packages/pgi/function.py +0 -12
  110. package/.venv/lib/python3.9/site-packages/pgi/gerror.py +0 -58
  111. package/.venv/lib/python3.9/site-packages/pgi/gtype.py +0 -168
  112. package/.venv/lib/python3.9/site-packages/pgi/importer.py +0 -189
  113. package/.venv/lib/python3.9/site-packages/pgi/module.py +0 -141
  114. package/.venv/lib/python3.9/site-packages/pgi/obj.py +0 -519
  115. package/.venv/lib/python3.9/site-packages/pgi/overrides/GLib.py +0 -1013
  116. package/.venv/lib/python3.9/site-packages/pgi/overrides/GObject.py +0 -583
  117. package/.venv/lib/python3.9/site-packages/pgi/overrides/Gdk.py +0 -454
  118. package/.venv/lib/python3.9/site-packages/pgi/overrides/Gio.py +0 -237
  119. package/.venv/lib/python3.9/site-packages/pgi/overrides/Gtk.py +0 -2412
  120. package/.venv/lib/python3.9/site-packages/pgi/overrides/Pango.py +0 -53
  121. package/.venv/lib/python3.9/site-packages/pgi/overrides/Poppler.py +0 -61
  122. package/.venv/lib/python3.9/site-packages/pgi/overrides/__init__.py +0 -327
  123. package/.venv/lib/python3.9/site-packages/pgi/overrides/keysyms.py +0 -54
  124. package/.venv/lib/python3.9/site-packages/pgi/properties.py +0 -313
  125. package/.venv/lib/python3.9/site-packages/pgi/propertyhelper.py +0 -12
  126. package/.venv/lib/python3.9/site-packages/pgi/repository/__init__.py +0 -10
  127. package/.venv/lib/python3.9/site-packages/pgi/signalhelper.py +0 -18
  128. package/.venv/lib/python3.9/site-packages/pgi/signals.py +0 -122
  129. package/.venv/lib/python3.9/site-packages/pgi/static.py +0 -189
  130. package/.venv/lib/python3.9/site-packages/pgi/structure.py +0 -131
  131. package/.venv/lib/python3.9/site-packages/pgi/util.py +0 -342
  132. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/COPYING +0 -502
  133. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/INSTALLER +0 -1
  134. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/METADATA +0 -22
  135. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/RECORD +0 -229
  136. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/REQUESTED +0 -0
  137. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/WHEEL +0 -5
  138. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/top_level.txt +0 -1
  139. package/.venv/lib/python3.9/site-packages/pip/__init__.py +0 -13
  140. package/.venv/lib/python3.9/site-packages/pip/__main__.py +0 -31
  141. package/.venv/lib/python3.9/site-packages/pip/_internal/__init__.py +0 -19
  142. package/.venv/lib/python3.9/site-packages/pip/_internal/build_env.py +0 -293
  143. package/.venv/lib/python3.9/site-packages/pip/_internal/cache.py +0 -264
  144. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/__init__.py +0 -4
  145. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py +0 -163
  146. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/base_command.py +0 -214
  147. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py +0 -1010
  148. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/command_context.py +0 -27
  149. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/main.py +0 -70
  150. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py +0 -87
  151. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/parser.py +0 -292
  152. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/progress_bars.py +0 -250
  153. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/req_command.py +0 -469
  154. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/spinners.py +0 -157
  155. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/status_codes.py +0 -6
  156. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/__init__.py +0 -127
  157. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/cache.py +0 -223
  158. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/check.py +0 -53
  159. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/completion.py +0 -96
  160. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/configuration.py +0 -266
  161. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/debug.py +0 -202
  162. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/download.py +0 -139
  163. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/freeze.py +0 -97
  164. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/hash.py +0 -59
  165. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/help.py +0 -41
  166. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/index.py +0 -138
  167. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/install.py +0 -770
  168. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/list.py +0 -361
  169. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/search.py +0 -174
  170. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/show.py +0 -235
  171. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/uninstall.py +0 -105
  172. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/wheel.py +0 -177
  173. package/.venv/lib/python3.9/site-packages/pip/_internal/configuration.py +0 -367
  174. package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/__init__.py +0 -21
  175. package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/base.py +0 -36
  176. package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/installed.py +0 -22
  177. package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py +0 -129
  178. package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/wheel.py +0 -31
  179. package/.venv/lib/python3.9/site-packages/pip/_internal/exceptions.py +0 -402
  180. package/.venv/lib/python3.9/site-packages/pip/_internal/index/__init__.py +0 -2
  181. package/.venv/lib/python3.9/site-packages/pip/_internal/index/collector.py +0 -536
  182. package/.venv/lib/python3.9/site-packages/pip/_internal/index/package_finder.py +0 -993
  183. package/.venv/lib/python3.9/site-packages/pip/_internal/index/sources.py +0 -224
  184. package/.venv/lib/python3.9/site-packages/pip/_internal/locations/__init__.py +0 -446
  185. package/.venv/lib/python3.9/site-packages/pip/_internal/locations/_distutils.py +0 -169
  186. package/.venv/lib/python3.9/site-packages/pip/_internal/locations/_sysconfig.py +0 -219
  187. package/.venv/lib/python3.9/site-packages/pip/_internal/locations/base.py +0 -52
  188. package/.venv/lib/python3.9/site-packages/pip/_internal/main.py +0 -12
  189. package/.venv/lib/python3.9/site-packages/pip/_internal/metadata/__init__.py +0 -51
  190. package/.venv/lib/python3.9/site-packages/pip/_internal/metadata/base.py +0 -330
  191. package/.venv/lib/python3.9/site-packages/pip/_internal/metadata/pkg_resources.py +0 -146
  192. package/.venv/lib/python3.9/site-packages/pip/_internal/models/__init__.py +0 -2
  193. package/.venv/lib/python3.9/site-packages/pip/_internal/models/candidate.py +0 -34
  194. package/.venv/lib/python3.9/site-packages/pip/_internal/models/direct_url.py +0 -220
  195. package/.venv/lib/python3.9/site-packages/pip/_internal/models/format_control.py +0 -80
  196. package/.venv/lib/python3.9/site-packages/pip/_internal/models/index.py +0 -28
  197. package/.venv/lib/python3.9/site-packages/pip/_internal/models/link.py +0 -288
  198. package/.venv/lib/python3.9/site-packages/pip/_internal/models/scheme.py +0 -31
  199. package/.venv/lib/python3.9/site-packages/pip/_internal/models/search_scope.py +0 -129
  200. package/.venv/lib/python3.9/site-packages/pip/_internal/models/selection_prefs.py +0 -51
  201. package/.venv/lib/python3.9/site-packages/pip/_internal/models/target_python.py +0 -110
  202. package/.venv/lib/python3.9/site-packages/pip/_internal/models/wheel.py +0 -89
  203. package/.venv/lib/python3.9/site-packages/pip/_internal/network/__init__.py +0 -2
  204. package/.venv/lib/python3.9/site-packages/pip/_internal/network/auth.py +0 -323
  205. package/.venv/lib/python3.9/site-packages/pip/_internal/network/cache.py +0 -69
  206. package/.venv/lib/python3.9/site-packages/pip/_internal/network/download.py +0 -184
  207. package/.venv/lib/python3.9/site-packages/pip/_internal/network/lazy_wheel.py +0 -210
  208. package/.venv/lib/python3.9/site-packages/pip/_internal/network/session.py +0 -454
  209. package/.venv/lib/python3.9/site-packages/pip/_internal/network/utils.py +0 -96
  210. package/.venv/lib/python3.9/site-packages/pip/_internal/network/xmlrpc.py +0 -60
  211. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/__init__.py +0 -0
  212. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/__init__.py +0 -0
  213. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/metadata.py +0 -30
  214. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/metadata_editable.py +0 -34
  215. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/metadata_legacy.py +0 -67
  216. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/wheel.py +0 -37
  217. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/wheel_editable.py +0 -46
  218. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/wheel_legacy.py +0 -105
  219. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/check.py +0 -149
  220. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/freeze.py +0 -254
  221. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/install/__init__.py +0 -2
  222. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/install/editable_legacy.py +0 -46
  223. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/install/legacy.py +0 -125
  224. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/install/wheel.py +0 -738
  225. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/prepare.py +0 -632
  226. package/.venv/lib/python3.9/site-packages/pip/_internal/pyproject.py +0 -183
  227. package/.venv/lib/python3.9/site-packages/pip/_internal/req/__init__.py +0 -94
  228. package/.venv/lib/python3.9/site-packages/pip/_internal/req/constructors.py +0 -466
  229. package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_file.py +0 -536
  230. package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_install.py +0 -891
  231. package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_set.py +0 -189
  232. package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_tracker.py +0 -124
  233. package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_uninstall.py +0 -633
  234. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/__init__.py +0 -0
  235. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/base.py +0 -20
  236. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
  237. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/legacy/resolver.py +0 -467
  238. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
  239. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/base.py +0 -141
  240. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py +0 -540
  241. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py +0 -701
  242. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +0 -155
  243. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/provider.py +0 -215
  244. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/reporter.py +0 -68
  245. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/requirements.py +0 -166
  246. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py +0 -251
  247. package/.venv/lib/python3.9/site-packages/pip/_internal/self_outdated_check.py +0 -182
  248. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/__init__.py +0 -0
  249. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/_log.py +0 -38
  250. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/appdirs.py +0 -52
  251. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/compat.py +0 -63
  252. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/compatibility_tags.py +0 -165
  253. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/datetime.py +0 -11
  254. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/deprecation.py +0 -120
  255. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/direct_url_helpers.py +0 -87
  256. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/distutils_args.py +0 -42
  257. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/egg_link.py +0 -75
  258. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/encoding.py +0 -36
  259. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/entrypoints.py +0 -27
  260. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/filesystem.py +0 -182
  261. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/filetypes.py +0 -27
  262. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/glibc.py +0 -88
  263. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/hashes.py +0 -144
  264. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/inject_securetransport.py +0 -35
  265. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/logging.py +0 -358
  266. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/misc.py +0 -689
  267. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/models.py +0 -39
  268. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/packaging.py +0 -84
  269. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/parallel.py +0 -103
  270. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/pkg_resources.py +0 -33
  271. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/setuptools_build.py +0 -167
  272. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/subprocess.py +0 -289
  273. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/temp_dir.py +0 -246
  274. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/unpacking.py +0 -258
  275. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/urls.py +0 -62
  276. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/virtualenv.py +0 -104
  277. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/wheel.py +0 -182
  278. package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/__init__.py +0 -15
  279. package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/bazaar.py +0 -93
  280. package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/git.py +0 -513
  281. package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/mercurial.py +0 -153
  282. package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/subversion.py +0 -318
  283. package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/versioncontrol.py +0 -693
  284. package/.venv/lib/python3.9/site-packages/pip/_internal/wheel_builder.py +0 -375
  285. package/.venv/lib/python3.9/site-packages/pip/_vendor/__init__.py +0 -111
  286. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/__init__.py +0 -11
  287. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/_cmd.py +0 -57
  288. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/adapter.py +0 -133
  289. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/cache.py +0 -39
  290. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +0 -2
  291. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +0 -146
  292. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +0 -33
  293. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/compat.py +0 -29
  294. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/controller.py +0 -376
  295. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/filewrapper.py +0 -80
  296. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/heuristics.py +0 -135
  297. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/serialize.py +0 -188
  298. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/wrapper.py +0 -29
  299. package/.venv/lib/python3.9/site-packages/pip/_vendor/certifi/__init__.py +0 -3
  300. package/.venv/lib/python3.9/site-packages/pip/_vendor/certifi/__main__.py +0 -12
  301. package/.venv/lib/python3.9/site-packages/pip/_vendor/certifi/cacert.pem +0 -4257
  302. package/.venv/lib/python3.9/site-packages/pip/_vendor/certifi/core.py +0 -76
  303. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/__init__.py +0 -83
  304. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/big5freq.py +0 -386
  305. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/big5prober.py +0 -47
  306. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/chardistribution.py +0 -233
  307. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/charsetgroupprober.py +0 -107
  308. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/charsetprober.py +0 -145
  309. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/cli/__init__.py +0 -1
  310. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/cli/chardetect.py +0 -84
  311. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/codingstatemachine.py +0 -88
  312. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/compat.py +0 -36
  313. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/cp949prober.py +0 -49
  314. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/enums.py +0 -76
  315. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/escprober.py +0 -101
  316. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/escsm.py +0 -246
  317. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/eucjpprober.py +0 -92
  318. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/euckrfreq.py +0 -195
  319. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/euckrprober.py +0 -47
  320. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/euctwfreq.py +0 -387
  321. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/euctwprober.py +0 -46
  322. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/gb2312freq.py +0 -283
  323. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/gb2312prober.py +0 -46
  324. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/hebrewprober.py +0 -292
  325. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/jisfreq.py +0 -325
  326. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/jpcntx.py +0 -233
  327. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langbulgarianmodel.py +0 -4650
  328. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langgreekmodel.py +0 -4398
  329. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langhebrewmodel.py +0 -4383
  330. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langhungarianmodel.py +0 -4650
  331. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langrussianmodel.py +0 -5718
  332. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langthaimodel.py +0 -4383
  333. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langturkishmodel.py +0 -4383
  334. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/latin1prober.py +0 -145
  335. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/mbcharsetprober.py +0 -91
  336. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/mbcsgroupprober.py +0 -54
  337. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/mbcssm.py +0 -572
  338. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/metadata/__init__.py +0 -0
  339. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/metadata/languages.py +0 -310
  340. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/sbcharsetprober.py +0 -145
  341. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/sbcsgroupprober.py +0 -83
  342. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/sjisprober.py +0 -92
  343. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/universaldetector.py +0 -286
  344. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/utf8prober.py +0 -82
  345. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/version.py +0 -9
  346. package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/__init__.py +0 -6
  347. package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/ansi.py +0 -102
  348. package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/ansitowin32.py +0 -258
  349. package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/initialise.py +0 -80
  350. package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/win32.py +0 -152
  351. package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/winterm.py +0 -169
  352. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/__init__.py +0 -23
  353. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/__init__.py +0 -6
  354. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/misc.py +0 -41
  355. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/shutil.py +0 -764
  356. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/sysconfig.cfg +0 -84
  357. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/sysconfig.py +0 -786
  358. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/tarfile.py +0 -2607
  359. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/compat.py +0 -1122
  360. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/database.py +0 -1339
  361. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/index.py +0 -509
  362. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/locators.py +0 -1300
  363. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/manifest.py +0 -393
  364. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/markers.py +0 -147
  365. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/metadata.py +0 -1058
  366. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/resources.py +0 -358
  367. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/scripts.py +0 -429
  368. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/t32.exe +0 -0
  369. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/t64-arm.exe +0 -0
  370. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/t64.exe +0 -0
  371. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/util.py +0 -1969
  372. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/version.py +0 -739
  373. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/w32.exe +0 -0
  374. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/w64-arm.exe +0 -0
  375. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/w64.exe +0 -0
  376. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/wheel.py +0 -1053
  377. package/.venv/lib/python3.9/site-packages/pip/_vendor/distro.py +0 -1386
  378. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/__init__.py +0 -35
  379. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_ihatexml.py +0 -289
  380. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_inputstream.py +0 -918
  381. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_tokenizer.py +0 -1735
  382. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_trie/__init__.py +0 -5
  383. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_trie/_base.py +0 -40
  384. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_trie/py.py +0 -67
  385. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_utils.py +0 -159
  386. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/constants.py +0 -2946
  387. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/__init__.py +0 -0
  388. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.py +0 -29
  389. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/base.py +0 -12
  390. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/inject_meta_charset.py +0 -73
  391. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/lint.py +0 -93
  392. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/optionaltags.py +0 -207
  393. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/sanitizer.py +0 -916
  394. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/whitespace.py +0 -38
  395. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/html5parser.py +0 -2795
  396. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/serializer.py +0 -409
  397. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py +0 -30
  398. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treeadapters/genshi.py +0 -54
  399. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treeadapters/sax.py +0 -50
  400. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/__init__.py +0 -88
  401. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/base.py +0 -417
  402. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/dom.py +0 -239
  403. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/etree.py +0 -343
  404. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/etree_lxml.py +0 -392
  405. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/__init__.py +0 -154
  406. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/base.py +0 -252
  407. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/dom.py +0 -43
  408. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/etree.py +0 -131
  409. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.py +0 -215
  410. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/genshi.py +0 -69
  411. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/__init__.py +0 -44
  412. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/codec.py +0 -117
  413. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/compat.py +0 -16
  414. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/core.py +0 -409
  415. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/idnadata.py +0 -2050
  416. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/intranges.py +0 -58
  417. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/package_data.py +0 -2
  418. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/uts46data.py +0 -8438
  419. package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/__init__.py +0 -54
  420. package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/_version.py +0 -1
  421. package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/exceptions.py +0 -48
  422. package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/ext.py +0 -193
  423. package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/fallback.py +0 -1087
  424. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/__about__.py +0 -26
  425. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/__init__.py +0 -25
  426. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/_manylinux.py +0 -301
  427. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/_musllinux.py +0 -136
  428. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/_structures.py +0 -67
  429. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/markers.py +0 -304
  430. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/requirements.py +0 -146
  431. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/specifiers.py +0 -828
  432. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/tags.py +0 -484
  433. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/utils.py +0 -136
  434. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/version.py +0 -504
  435. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/__init__.py +0 -6
  436. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/build.py +0 -127
  437. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/check.py +0 -207
  438. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/colorlog.py +0 -115
  439. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/compat.py +0 -51
  440. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/dirtools.py +0 -44
  441. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/envbuild.py +0 -171
  442. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/__init__.py +0 -17
  443. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py +0 -363
  444. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/meta.py +0 -92
  445. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/wrappers.py +0 -375
  446. package/.venv/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py +0 -3296
  447. package/.venv/lib/python3.9/site-packages/pip/_vendor/pkg_resources/py31compat.py +0 -23
  448. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/__init__.py +0 -329
  449. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/__main__.py +0 -44
  450. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/android.py +0 -117
  451. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/api.py +0 -155
  452. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/macos.py +0 -62
  453. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/unix.py +0 -180
  454. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/version.py +0 -4
  455. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/windows.py +0 -180
  456. package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/__init__.py +0 -189
  457. package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/bar.py +0 -93
  458. package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/colors.py +0 -79
  459. package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/counter.py +0 -47
  460. package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/spinner.py +0 -45
  461. package/.venv/lib/python3.9/site-packages/pip/_vendor/pyparsing.py +0 -7107
  462. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/__init__.py +0 -154
  463. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/__version__.py +0 -14
  464. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/_internal_utils.py +0 -42
  465. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/adapters.py +0 -533
  466. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/api.py +0 -159
  467. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/auth.py +0 -305
  468. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/certs.py +0 -18
  469. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/compat.py +0 -76
  470. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/cookies.py +0 -549
  471. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/exceptions.py +0 -127
  472. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/help.py +0 -132
  473. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/hooks.py +0 -34
  474. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/models.py +0 -966
  475. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/packages.py +0 -16
  476. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py +0 -781
  477. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/status_codes.py +0 -123
  478. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/structures.py +0 -105
  479. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/utils.py +0 -1013
  480. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/__init__.py +0 -26
  481. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
  482. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +0 -6
  483. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/providers.py +0 -133
  484. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/reporters.py +0 -37
  485. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py +0 -483
  486. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/structs.py +0 -165
  487. package/.venv/lib/python3.9/site-packages/pip/_vendor/six.py +0 -998
  488. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/__init__.py +0 -517
  489. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/_asyncio.py +0 -92
  490. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/_utils.py +0 -68
  491. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/after.py +0 -46
  492. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/before.py +0 -41
  493. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/before_sleep.py +0 -58
  494. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/nap.py +0 -43
  495. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/retry.py +0 -213
  496. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/stop.py +0 -96
  497. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/tornadoweb.py +0 -59
  498. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/wait.py +0 -191
  499. package/.venv/lib/python3.9/site-packages/pip/_vendor/tomli/__init__.py +0 -6
  500. package/.venv/lib/python3.9/site-packages/pip/_vendor/tomli/_parser.py +0 -703
  501. package/.venv/lib/python3.9/site-packages/pip/_vendor/tomli/_re.py +0 -83
  502. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/__init__.py +0 -85
  503. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/_collections.py +0 -337
  504. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/_version.py +0 -2
  505. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/connection.py +0 -569
  506. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/connectionpool.py +0 -1078
  507. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
  508. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +0 -36
  509. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
  510. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +0 -519
  511. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +0 -397
  512. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/appengine.py +0 -314
  513. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +0 -130
  514. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +0 -511
  515. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +0 -922
  516. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/socks.py +0 -216
  517. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/exceptions.py +0 -323
  518. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/fields.py +0 -274
  519. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/filepost.py +0 -98
  520. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -5
  521. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
  522. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +0 -51
  523. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/six.py +0 -1077
  524. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/ssl_match_hostname/__init__.py +0 -24
  525. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/ssl_match_hostname/_implementation.py +0 -160
  526. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/poolmanager.py +0 -536
  527. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/request.py +0 -170
  528. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/response.py +0 -821
  529. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/__init__.py +0 -49
  530. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/connection.py +0 -150
  531. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/proxy.py +0 -57
  532. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/queue.py +0 -22
  533. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/request.py +0 -143
  534. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/response.py +0 -107
  535. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/retry.py +0 -602
  536. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/ssl_.py +0 -495
  537. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/ssltransport.py +0 -221
  538. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/timeout.py +0 -268
  539. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/url.py +0 -432
  540. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/wait.py +0 -153
  541. package/.venv/lib/python3.9/site-packages/pip/_vendor/vendor.txt +0 -22
  542. package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/__init__.py +0 -342
  543. package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/labels.py +0 -231
  544. package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/mklabels.py +0 -59
  545. package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/tests.py +0 -153
  546. package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/x_user_defined.py +0 -325
  547. package/.venv/lib/python3.9/site-packages/pip/py.typed +0 -4
  548. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/INSTALLER +0 -1
  549. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/LICENSE.txt +0 -20
  550. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/METADATA +0 -93
  551. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/RECORD +0 -819
  552. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/REQUESTED +0 -0
  553. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/WHEEL +0 -5
  554. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/entry_points.txt +0 -5
  555. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/top_level.txt +0 -1
  556. package/.venv/lib/python3.9/site-packages/pkg_resources/__init__.py +0 -3303
  557. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/__init__.py +0 -0
  558. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/appdirs.py +0 -608
  559. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/__about__.py +0 -26
  560. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/__init__.py +0 -25
  561. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_manylinux.py +0 -301
  562. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_musllinux.py +0 -136
  563. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_structures.py +0 -67
  564. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/markers.py +0 -304
  565. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/requirements.py +0 -146
  566. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/specifiers.py +0 -828
  567. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/tags.py +0 -484
  568. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/utils.py +0 -136
  569. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/version.py +0 -504
  570. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/pyparsing.py +0 -5742
  571. package/.venv/lib/python3.9/site-packages/pkg_resources/extern/__init__.py +0 -73
  572. package/.venv/lib/python3.9/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py +0 -6
  573. package/.venv/lib/python3.9/site-packages/setuptools/__init__.py +0 -244
  574. package/.venv/lib/python3.9/site-packages/setuptools/_deprecation_warning.py +0 -7
  575. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/__init__.py +0 -24
  576. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/_collections.py +0 -56
  577. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/_msvccompiler.py +0 -561
  578. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/archive_util.py +0 -256
  579. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/bcppcompiler.py +0 -393
  580. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/ccompiler.py +0 -1123
  581. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py +0 -403
  582. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/__init__.py +0 -31
  583. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist.py +0 -143
  584. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist_dumb.py +0 -123
  585. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist_msi.py +0 -749
  586. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist_rpm.py +0 -579
  587. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist_wininst.py +0 -377
  588. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build.py +0 -157
  589. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_clib.py +0 -209
  590. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py +0 -755
  591. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_py.py +0 -392
  592. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_scripts.py +0 -152
  593. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/check.py +0 -148
  594. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/clean.py +0 -76
  595. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/config.py +0 -344
  596. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install.py +0 -775
  597. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_data.py +0 -79
  598. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_egg_info.py +0 -84
  599. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_headers.py +0 -47
  600. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_lib.py +0 -217
  601. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_scripts.py +0 -60
  602. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/py37compat.py +0 -30
  603. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/register.py +0 -304
  604. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/sdist.py +0 -494
  605. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/upload.py +0 -214
  606. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/config.py +0 -130
  607. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/core.py +0 -249
  608. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/cygwinccompiler.py +0 -362
  609. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/debug.py +0 -5
  610. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/dep_util.py +0 -92
  611. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/dir_util.py +0 -210
  612. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/dist.py +0 -1257
  613. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/errors.py +0 -97
  614. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/extension.py +0 -240
  615. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/fancy_getopt.py +0 -457
  616. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/file_util.py +0 -238
  617. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/filelist.py +0 -355
  618. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/log.py +0 -81
  619. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/msvc9compiler.py +0 -788
  620. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/msvccompiler.py +0 -643
  621. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/py35compat.py +0 -19
  622. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/py38compat.py +0 -7
  623. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/spawn.py +0 -106
  624. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/sysconfig.py +0 -567
  625. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/text_file.py +0 -286
  626. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/unixccompiler.py +0 -325
  627. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/util.py +0 -548
  628. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/version.py +0 -363
  629. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/versionpredicate.py +0 -169
  630. package/.venv/lib/python3.9/site-packages/setuptools/_imp.py +0 -82
  631. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/__init__.py +0 -0
  632. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/more_itertools/__init__.py +0 -4
  633. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/more_itertools/more.py +0 -3825
  634. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/more_itertools/recipes.py +0 -620
  635. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/ordered_set.py +0 -488
  636. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/__about__.py +0 -26
  637. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/__init__.py +0 -25
  638. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/_manylinux.py +0 -301
  639. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/_musllinux.py +0 -136
  640. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/_structures.py +0 -67
  641. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/markers.py +0 -304
  642. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/requirements.py +0 -146
  643. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/specifiers.py +0 -828
  644. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/tags.py +0 -484
  645. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/utils.py +0 -136
  646. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/version.py +0 -504
  647. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/pyparsing.py +0 -5742
  648. package/.venv/lib/python3.9/site-packages/setuptools/archive_util.py +0 -205
  649. package/.venv/lib/python3.9/site-packages/setuptools/build_meta.py +0 -290
  650. package/.venv/lib/python3.9/site-packages/setuptools/cli-32.exe +0 -0
  651. package/.venv/lib/python3.9/site-packages/setuptools/cli-64.exe +0 -0
  652. package/.venv/lib/python3.9/site-packages/setuptools/cli-arm64.exe +0 -0
  653. package/.venv/lib/python3.9/site-packages/setuptools/cli.exe +0 -0
  654. package/.venv/lib/python3.9/site-packages/setuptools/command/__init__.py +0 -8
  655. package/.venv/lib/python3.9/site-packages/setuptools/command/alias.py +0 -78
  656. package/.venv/lib/python3.9/site-packages/setuptools/command/bdist_egg.py +0 -456
  657. package/.venv/lib/python3.9/site-packages/setuptools/command/bdist_rpm.py +0 -40
  658. package/.venv/lib/python3.9/site-packages/setuptools/command/build_clib.py +0 -101
  659. package/.venv/lib/python3.9/site-packages/setuptools/command/build_ext.py +0 -328
  660. package/.venv/lib/python3.9/site-packages/setuptools/command/build_py.py +0 -242
  661. package/.venv/lib/python3.9/site-packages/setuptools/command/develop.py +0 -193
  662. package/.venv/lib/python3.9/site-packages/setuptools/command/dist_info.py +0 -36
  663. package/.venv/lib/python3.9/site-packages/setuptools/command/easy_install.py +0 -2304
  664. package/.venv/lib/python3.9/site-packages/setuptools/command/egg_info.py +0 -755
  665. package/.venv/lib/python3.9/site-packages/setuptools/command/install.py +0 -132
  666. package/.venv/lib/python3.9/site-packages/setuptools/command/install_egg_info.py +0 -62
  667. package/.venv/lib/python3.9/site-packages/setuptools/command/install_lib.py +0 -122
  668. package/.venv/lib/python3.9/site-packages/setuptools/command/install_scripts.py +0 -69
  669. package/.venv/lib/python3.9/site-packages/setuptools/command/launcher manifest.xml +0 -15
  670. package/.venv/lib/python3.9/site-packages/setuptools/command/py36compat.py +0 -134
  671. package/.venv/lib/python3.9/site-packages/setuptools/command/register.py +0 -18
  672. package/.venv/lib/python3.9/site-packages/setuptools/command/rotate.py +0 -64
  673. package/.venv/lib/python3.9/site-packages/setuptools/command/saveopts.py +0 -22
  674. package/.venv/lib/python3.9/site-packages/setuptools/command/sdist.py +0 -196
  675. package/.venv/lib/python3.9/site-packages/setuptools/command/setopt.py +0 -149
  676. package/.venv/lib/python3.9/site-packages/setuptools/command/test.py +0 -252
  677. package/.venv/lib/python3.9/site-packages/setuptools/command/upload.py +0 -17
  678. package/.venv/lib/python3.9/site-packages/setuptools/command/upload_docs.py +0 -202
  679. package/.venv/lib/python3.9/site-packages/setuptools/config.py +0 -751
  680. package/.venv/lib/python3.9/site-packages/setuptools/dep_util.py +0 -25
  681. package/.venv/lib/python3.9/site-packages/setuptools/depends.py +0 -176
  682. package/.venv/lib/python3.9/site-packages/setuptools/dist.py +0 -1156
  683. package/.venv/lib/python3.9/site-packages/setuptools/errors.py +0 -40
  684. package/.venv/lib/python3.9/site-packages/setuptools/extension.py +0 -55
  685. package/.venv/lib/python3.9/site-packages/setuptools/extern/__init__.py +0 -73
  686. package/.venv/lib/python3.9/site-packages/setuptools/glob.py +0 -167
  687. package/.venv/lib/python3.9/site-packages/setuptools/gui-32.exe +0 -0
  688. package/.venv/lib/python3.9/site-packages/setuptools/gui-64.exe +0 -0
  689. package/.venv/lib/python3.9/site-packages/setuptools/gui-arm64.exe +0 -0
  690. package/.venv/lib/python3.9/site-packages/setuptools/gui.exe +0 -0
  691. package/.venv/lib/python3.9/site-packages/setuptools/installer.py +0 -104
  692. package/.venv/lib/python3.9/site-packages/setuptools/launch.py +0 -36
  693. package/.venv/lib/python3.9/site-packages/setuptools/logging.py +0 -30
  694. package/.venv/lib/python3.9/site-packages/setuptools/monkey.py +0 -177
  695. package/.venv/lib/python3.9/site-packages/setuptools/msvc.py +0 -1805
  696. package/.venv/lib/python3.9/site-packages/setuptools/namespaces.py +0 -107
  697. package/.venv/lib/python3.9/site-packages/setuptools/package_index.py +0 -1127
  698. package/.venv/lib/python3.9/site-packages/setuptools/py34compat.py +0 -13
  699. package/.venv/lib/python3.9/site-packages/setuptools/sandbox.py +0 -530
  700. package/.venv/lib/python3.9/site-packages/setuptools/script (dev).tmpl +0 -6
  701. package/.venv/lib/python3.9/site-packages/setuptools/script.tmpl +0 -3
  702. package/.venv/lib/python3.9/site-packages/setuptools/tests/integration/__init__.py +0 -0
  703. package/.venv/lib/python3.9/site-packages/setuptools/tests/integration/helpers.py +0 -61
  704. package/.venv/lib/python3.9/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +0 -218
  705. package/.venv/lib/python3.9/site-packages/setuptools/unicode_utils.py +0 -42
  706. package/.venv/lib/python3.9/site-packages/setuptools/version.py +0 -6
  707. package/.venv/lib/python3.9/site-packages/setuptools/wheel.py +0 -213
  708. package/.venv/lib/python3.9/site-packages/setuptools/windows_support.py +0 -29
  709. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/INSTALLER +0 -1
  710. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/LICENSE +0 -19
  711. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/METADATA +0 -142
  712. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/RECORD +0 -308
  713. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/REQUESTED +0 -0
  714. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/WHEEL +0 -5
  715. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/entry_points.txt +0 -56
  716. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/top_level.txt +0 -3
  717. package/.venv/pyvenv.cfg +0 -3
  718. package/.vscode/launch.json +0 -62
  719. package/.vscode/settings.json +0 -8
@@ -1,966 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
-
3
- """
4
- requests.models
5
- ~~~~~~~~~~~~~~~
6
-
7
- This module contains the primary objects that power Requests.
8
- """
9
-
10
- import datetime
11
- import sys
12
-
13
- # Import encoding now, to avoid implicit import later.
14
- # Implicit import within threads may cause LookupError when standard library is in a ZIP,
15
- # such as in Embedded Python. See https://github.com/psf/requests/issues/3578.
16
- import encodings.idna
17
-
18
- from pip._vendor.urllib3.fields import RequestField
19
- from pip._vendor.urllib3.filepost import encode_multipart_formdata
20
- from pip._vendor.urllib3.util import parse_url
21
- from pip._vendor.urllib3.exceptions import (
22
- DecodeError, ReadTimeoutError, ProtocolError, LocationParseError)
23
-
24
- from io import UnsupportedOperation
25
- from .hooks import default_hooks
26
- from .structures import CaseInsensitiveDict
27
-
28
- from .auth import HTTPBasicAuth
29
- from .cookies import cookiejar_from_dict, get_cookie_header, _copy_cookie_jar
30
- from .exceptions import (
31
- HTTPError, MissingSchema, InvalidURL, ChunkedEncodingError,
32
- ContentDecodingError, ConnectionError, StreamConsumedError, InvalidJSONError)
33
- from ._internal_utils import to_native_string, unicode_is_ascii
34
- from .utils import (
35
- guess_filename, get_auth_from_url, requote_uri,
36
- stream_decode_response_unicode, to_key_val_list, parse_header_links,
37
- iter_slices, guess_json_utf, super_len, check_header_validity)
38
- from .compat import (
39
- Callable, Mapping,
40
- cookielib, urlunparse, urlsplit, urlencode, str, bytes,
41
- is_py2, chardet, builtin_str, basestring)
42
- from .compat import json as complexjson
43
- from .status_codes import codes
44
-
45
- #: The set of HTTP status codes that indicate an automatically
46
- #: processable redirect.
47
- REDIRECT_STATI = (
48
- codes.moved, # 301
49
- codes.found, # 302
50
- codes.other, # 303
51
- codes.temporary_redirect, # 307
52
- codes.permanent_redirect, # 308
53
- )
54
-
55
- DEFAULT_REDIRECT_LIMIT = 30
56
- CONTENT_CHUNK_SIZE = 10 * 1024
57
- ITER_CHUNK_SIZE = 512
58
-
59
-
60
- class RequestEncodingMixin(object):
61
- @property
62
- def path_url(self):
63
- """Build the path URL to use."""
64
-
65
- url = []
66
-
67
- p = urlsplit(self.url)
68
-
69
- path = p.path
70
- if not path:
71
- path = '/'
72
-
73
- url.append(path)
74
-
75
- query = p.query
76
- if query:
77
- url.append('?')
78
- url.append(query)
79
-
80
- return ''.join(url)
81
-
82
- @staticmethod
83
- def _encode_params(data):
84
- """Encode parameters in a piece of data.
85
-
86
- Will successfully encode parameters when passed as a dict or a list of
87
- 2-tuples. Order is retained if data is a list of 2-tuples but arbitrary
88
- if parameters are supplied as a dict.
89
- """
90
-
91
- if isinstance(data, (str, bytes)):
92
- return data
93
- elif hasattr(data, 'read'):
94
- return data
95
- elif hasattr(data, '__iter__'):
96
- result = []
97
- for k, vs in to_key_val_list(data):
98
- if isinstance(vs, basestring) or not hasattr(vs, '__iter__'):
99
- vs = [vs]
100
- for v in vs:
101
- if v is not None:
102
- result.append(
103
- (k.encode('utf-8') if isinstance(k, str) else k,
104
- v.encode('utf-8') if isinstance(v, str) else v))
105
- return urlencode(result, doseq=True)
106
- else:
107
- return data
108
-
109
- @staticmethod
110
- def _encode_files(files, data):
111
- """Build the body for a multipart/form-data request.
112
-
113
- Will successfully encode files when passed as a dict or a list of
114
- tuples. Order is retained if data is a list of tuples but arbitrary
115
- if parameters are supplied as a dict.
116
- The tuples may be 2-tuples (filename, fileobj), 3-tuples (filename, fileobj, contentype)
117
- or 4-tuples (filename, fileobj, contentype, custom_headers).
118
- """
119
- if (not files):
120
- raise ValueError("Files must be provided.")
121
- elif isinstance(data, basestring):
122
- raise ValueError("Data must not be a string.")
123
-
124
- new_fields = []
125
- fields = to_key_val_list(data or {})
126
- files = to_key_val_list(files or {})
127
-
128
- for field, val in fields:
129
- if isinstance(val, basestring) or not hasattr(val, '__iter__'):
130
- val = [val]
131
- for v in val:
132
- if v is not None:
133
- # Don't call str() on bytestrings: in Py3 it all goes wrong.
134
- if not isinstance(v, bytes):
135
- v = str(v)
136
-
137
- new_fields.append(
138
- (field.decode('utf-8') if isinstance(field, bytes) else field,
139
- v.encode('utf-8') if isinstance(v, str) else v))
140
-
141
- for (k, v) in files:
142
- # support for explicit filename
143
- ft = None
144
- fh = None
145
- if isinstance(v, (tuple, list)):
146
- if len(v) == 2:
147
- fn, fp = v
148
- elif len(v) == 3:
149
- fn, fp, ft = v
150
- else:
151
- fn, fp, ft, fh = v
152
- else:
153
- fn = guess_filename(v) or k
154
- fp = v
155
-
156
- if isinstance(fp, (str, bytes, bytearray)):
157
- fdata = fp
158
- elif hasattr(fp, 'read'):
159
- fdata = fp.read()
160
- elif fp is None:
161
- continue
162
- else:
163
- fdata = fp
164
-
165
- rf = RequestField(name=k, data=fdata, filename=fn, headers=fh)
166
- rf.make_multipart(content_type=ft)
167
- new_fields.append(rf)
168
-
169
- body, content_type = encode_multipart_formdata(new_fields)
170
-
171
- return body, content_type
172
-
173
-
174
- class RequestHooksMixin(object):
175
- def register_hook(self, event, hook):
176
- """Properly register a hook."""
177
-
178
- if event not in self.hooks:
179
- raise ValueError('Unsupported event specified, with event name "%s"' % (event))
180
-
181
- if isinstance(hook, Callable):
182
- self.hooks[event].append(hook)
183
- elif hasattr(hook, '__iter__'):
184
- self.hooks[event].extend(h for h in hook if isinstance(h, Callable))
185
-
186
- def deregister_hook(self, event, hook):
187
- """Deregister a previously registered hook.
188
- Returns True if the hook existed, False if not.
189
- """
190
-
191
- try:
192
- self.hooks[event].remove(hook)
193
- return True
194
- except ValueError:
195
- return False
196
-
197
-
198
- class Request(RequestHooksMixin):
199
- """A user-created :class:`Request <Request>` object.
200
-
201
- Used to prepare a :class:`PreparedRequest <PreparedRequest>`, which is sent to the server.
202
-
203
- :param method: HTTP method to use.
204
- :param url: URL to send.
205
- :param headers: dictionary of headers to send.
206
- :param files: dictionary of {filename: fileobject} files to multipart upload.
207
- :param data: the body to attach to the request. If a dictionary or
208
- list of tuples ``[(key, value)]`` is provided, form-encoding will
209
- take place.
210
- :param json: json for the body to attach to the request (if files or data is not specified).
211
- :param params: URL parameters to append to the URL. If a dictionary or
212
- list of tuples ``[(key, value)]`` is provided, form-encoding will
213
- take place.
214
- :param auth: Auth handler or (user, pass) tuple.
215
- :param cookies: dictionary or CookieJar of cookies to attach to this request.
216
- :param hooks: dictionary of callback hooks, for internal usage.
217
-
218
- Usage::
219
-
220
- >>> import requests
221
- >>> req = requests.Request('GET', 'https://httpbin.org/get')
222
- >>> req.prepare()
223
- <PreparedRequest [GET]>
224
- """
225
-
226
- def __init__(self,
227
- method=None, url=None, headers=None, files=None, data=None,
228
- params=None, auth=None, cookies=None, hooks=None, json=None):
229
-
230
- # Default empty dicts for dict params.
231
- data = [] if data is None else data
232
- files = [] if files is None else files
233
- headers = {} if headers is None else headers
234
- params = {} if params is None else params
235
- hooks = {} if hooks is None else hooks
236
-
237
- self.hooks = default_hooks()
238
- for (k, v) in list(hooks.items()):
239
- self.register_hook(event=k, hook=v)
240
-
241
- self.method = method
242
- self.url = url
243
- self.headers = headers
244
- self.files = files
245
- self.data = data
246
- self.json = json
247
- self.params = params
248
- self.auth = auth
249
- self.cookies = cookies
250
-
251
- def __repr__(self):
252
- return '<Request [%s]>' % (self.method)
253
-
254
- def prepare(self):
255
- """Constructs a :class:`PreparedRequest <PreparedRequest>` for transmission and returns it."""
256
- p = PreparedRequest()
257
- p.prepare(
258
- method=self.method,
259
- url=self.url,
260
- headers=self.headers,
261
- files=self.files,
262
- data=self.data,
263
- json=self.json,
264
- params=self.params,
265
- auth=self.auth,
266
- cookies=self.cookies,
267
- hooks=self.hooks,
268
- )
269
- return p
270
-
271
-
272
- class PreparedRequest(RequestEncodingMixin, RequestHooksMixin):
273
- """The fully mutable :class:`PreparedRequest <PreparedRequest>` object,
274
- containing the exact bytes that will be sent to the server.
275
-
276
- Instances are generated from a :class:`Request <Request>` object, and
277
- should not be instantiated manually; doing so may produce undesirable
278
- effects.
279
-
280
- Usage::
281
-
282
- >>> import requests
283
- >>> req = requests.Request('GET', 'https://httpbin.org/get')
284
- >>> r = req.prepare()
285
- >>> r
286
- <PreparedRequest [GET]>
287
-
288
- >>> s = requests.Session()
289
- >>> s.send(r)
290
- <Response [200]>
291
- """
292
-
293
- def __init__(self):
294
- #: HTTP verb to send to the server.
295
- self.method = None
296
- #: HTTP URL to send the request to.
297
- self.url = None
298
- #: dictionary of HTTP headers.
299
- self.headers = None
300
- # The `CookieJar` used to create the Cookie header will be stored here
301
- # after prepare_cookies is called
302
- self._cookies = None
303
- #: request body to send to the server.
304
- self.body = None
305
- #: dictionary of callback hooks, for internal usage.
306
- self.hooks = default_hooks()
307
- #: integer denoting starting position of a readable file-like body.
308
- self._body_position = None
309
-
310
- def prepare(self,
311
- method=None, url=None, headers=None, files=None, data=None,
312
- params=None, auth=None, cookies=None, hooks=None, json=None):
313
- """Prepares the entire request with the given parameters."""
314
-
315
- self.prepare_method(method)
316
- self.prepare_url(url, params)
317
- self.prepare_headers(headers)
318
- self.prepare_cookies(cookies)
319
- self.prepare_body(data, files, json)
320
- self.prepare_auth(auth, url)
321
-
322
- # Note that prepare_auth must be last to enable authentication schemes
323
- # such as OAuth to work on a fully prepared request.
324
-
325
- # This MUST go after prepare_auth. Authenticators could add a hook
326
- self.prepare_hooks(hooks)
327
-
328
- def __repr__(self):
329
- return '<PreparedRequest [%s]>' % (self.method)
330
-
331
- def copy(self):
332
- p = PreparedRequest()
333
- p.method = self.method
334
- p.url = self.url
335
- p.headers = self.headers.copy() if self.headers is not None else None
336
- p._cookies = _copy_cookie_jar(self._cookies)
337
- p.body = self.body
338
- p.hooks = self.hooks
339
- p._body_position = self._body_position
340
- return p
341
-
342
- def prepare_method(self, method):
343
- """Prepares the given HTTP method."""
344
- self.method = method
345
- if self.method is not None:
346
- self.method = to_native_string(self.method.upper())
347
-
348
- @staticmethod
349
- def _get_idna_encoded_host(host):
350
- from pip._vendor import idna
351
-
352
- try:
353
- host = idna.encode(host, uts46=True).decode('utf-8')
354
- except idna.IDNAError:
355
- raise UnicodeError
356
- return host
357
-
358
- def prepare_url(self, url, params):
359
- """Prepares the given HTTP URL."""
360
- #: Accept objects that have string representations.
361
- #: We're unable to blindly call unicode/str functions
362
- #: as this will include the bytestring indicator (b'')
363
- #: on python 3.x.
364
- #: https://github.com/psf/requests/pull/2238
365
- if isinstance(url, bytes):
366
- url = url.decode('utf8')
367
- else:
368
- url = unicode(url) if is_py2 else str(url)
369
-
370
- # Remove leading whitespaces from url
371
- url = url.lstrip()
372
-
373
- # Don't do any URL preparation for non-HTTP schemes like `mailto`,
374
- # `data` etc to work around exceptions from `url_parse`, which
375
- # handles RFC 3986 only.
376
- if ':' in url and not url.lower().startswith('http'):
377
- self.url = url
378
- return
379
-
380
- # Support for unicode domain names and paths.
381
- try:
382
- scheme, auth, host, port, path, query, fragment = parse_url(url)
383
- except LocationParseError as e:
384
- raise InvalidURL(*e.args)
385
-
386
- if not scheme:
387
- error = ("Invalid URL {0!r}: No schema supplied. Perhaps you meant http://{0}?")
388
- error = error.format(to_native_string(url, 'utf8'))
389
-
390
- raise MissingSchema(error)
391
-
392
- if not host:
393
- raise InvalidURL("Invalid URL %r: No host supplied" % url)
394
-
395
- # In general, we want to try IDNA encoding the hostname if the string contains
396
- # non-ASCII characters. This allows users to automatically get the correct IDNA
397
- # behaviour. For strings containing only ASCII characters, we need to also verify
398
- # it doesn't start with a wildcard (*), before allowing the unencoded hostname.
399
- if not unicode_is_ascii(host):
400
- try:
401
- host = self._get_idna_encoded_host(host)
402
- except UnicodeError:
403
- raise InvalidURL('URL has an invalid label.')
404
- elif host.startswith(u'*'):
405
- raise InvalidURL('URL has an invalid label.')
406
-
407
- # Carefully reconstruct the network location
408
- netloc = auth or ''
409
- if netloc:
410
- netloc += '@'
411
- netloc += host
412
- if port:
413
- netloc += ':' + str(port)
414
-
415
- # Bare domains aren't valid URLs.
416
- if not path:
417
- path = '/'
418
-
419
- if is_py2:
420
- if isinstance(scheme, str):
421
- scheme = scheme.encode('utf-8')
422
- if isinstance(netloc, str):
423
- netloc = netloc.encode('utf-8')
424
- if isinstance(path, str):
425
- path = path.encode('utf-8')
426
- if isinstance(query, str):
427
- query = query.encode('utf-8')
428
- if isinstance(fragment, str):
429
- fragment = fragment.encode('utf-8')
430
-
431
- if isinstance(params, (str, bytes)):
432
- params = to_native_string(params)
433
-
434
- enc_params = self._encode_params(params)
435
- if enc_params:
436
- if query:
437
- query = '%s&%s' % (query, enc_params)
438
- else:
439
- query = enc_params
440
-
441
- url = requote_uri(urlunparse([scheme, netloc, path, None, query, fragment]))
442
- self.url = url
443
-
444
- def prepare_headers(self, headers):
445
- """Prepares the given HTTP headers."""
446
-
447
- self.headers = CaseInsensitiveDict()
448
- if headers:
449
- for header in headers.items():
450
- # Raise exception on invalid header value.
451
- check_header_validity(header)
452
- name, value = header
453
- self.headers[to_native_string(name)] = value
454
-
455
- def prepare_body(self, data, files, json=None):
456
- """Prepares the given HTTP body data."""
457
-
458
- # Check if file, fo, generator, iterator.
459
- # If not, run through normal process.
460
-
461
- # Nottin' on you.
462
- body = None
463
- content_type = None
464
-
465
- if not data and json is not None:
466
- # urllib3 requires a bytes-like body. Python 2's json.dumps
467
- # provides this natively, but Python 3 gives a Unicode string.
468
- content_type = 'application/json'
469
-
470
- try:
471
- body = complexjson.dumps(json, allow_nan=False)
472
- except ValueError as ve:
473
- raise InvalidJSONError(ve, request=self)
474
-
475
- if not isinstance(body, bytes):
476
- body = body.encode('utf-8')
477
-
478
- is_stream = all([
479
- hasattr(data, '__iter__'),
480
- not isinstance(data, (basestring, list, tuple, Mapping))
481
- ])
482
-
483
- if is_stream:
484
- try:
485
- length = super_len(data)
486
- except (TypeError, AttributeError, UnsupportedOperation):
487
- length = None
488
-
489
- body = data
490
-
491
- if getattr(body, 'tell', None) is not None:
492
- # Record the current file position before reading.
493
- # This will allow us to rewind a file in the event
494
- # of a redirect.
495
- try:
496
- self._body_position = body.tell()
497
- except (IOError, OSError):
498
- # This differentiates from None, allowing us to catch
499
- # a failed `tell()` later when trying to rewind the body
500
- self._body_position = object()
501
-
502
- if files:
503
- raise NotImplementedError('Streamed bodies and files are mutually exclusive.')
504
-
505
- if length:
506
- self.headers['Content-Length'] = builtin_str(length)
507
- else:
508
- self.headers['Transfer-Encoding'] = 'chunked'
509
- else:
510
- # Multi-part file uploads.
511
- if files:
512
- (body, content_type) = self._encode_files(files, data)
513
- else:
514
- if data:
515
- body = self._encode_params(data)
516
- if isinstance(data, basestring) or hasattr(data, 'read'):
517
- content_type = None
518
- else:
519
- content_type = 'application/x-www-form-urlencoded'
520
-
521
- self.prepare_content_length(body)
522
-
523
- # Add content-type if it wasn't explicitly provided.
524
- if content_type and ('content-type' not in self.headers):
525
- self.headers['Content-Type'] = content_type
526
-
527
- self.body = body
528
-
529
- def prepare_content_length(self, body):
530
- """Prepare Content-Length header based on request method and body"""
531
- if body is not None:
532
- length = super_len(body)
533
- if length:
534
- # If length exists, set it. Otherwise, we fallback
535
- # to Transfer-Encoding: chunked.
536
- self.headers['Content-Length'] = builtin_str(length)
537
- elif self.method not in ('GET', 'HEAD') and self.headers.get('Content-Length') is None:
538
- # Set Content-Length to 0 for methods that can have a body
539
- # but don't provide one. (i.e. not GET or HEAD)
540
- self.headers['Content-Length'] = '0'
541
-
542
- def prepare_auth(self, auth, url=''):
543
- """Prepares the given HTTP auth data."""
544
-
545
- # If no Auth is explicitly provided, extract it from the URL first.
546
- if auth is None:
547
- url_auth = get_auth_from_url(self.url)
548
- auth = url_auth if any(url_auth) else None
549
-
550
- if auth:
551
- if isinstance(auth, tuple) and len(auth) == 2:
552
- # special-case basic HTTP auth
553
- auth = HTTPBasicAuth(*auth)
554
-
555
- # Allow auth to make its changes.
556
- r = auth(self)
557
-
558
- # Update self to reflect the auth changes.
559
- self.__dict__.update(r.__dict__)
560
-
561
- # Recompute Content-Length
562
- self.prepare_content_length(self.body)
563
-
564
- def prepare_cookies(self, cookies):
565
- """Prepares the given HTTP cookie data.
566
-
567
- This function eventually generates a ``Cookie`` header from the
568
- given cookies using cookielib. Due to cookielib's design, the header
569
- will not be regenerated if it already exists, meaning this function
570
- can only be called once for the life of the
571
- :class:`PreparedRequest <PreparedRequest>` object. Any subsequent calls
572
- to ``prepare_cookies`` will have no actual effect, unless the "Cookie"
573
- header is removed beforehand.
574
- """
575
- if isinstance(cookies, cookielib.CookieJar):
576
- self._cookies = cookies
577
- else:
578
- self._cookies = cookiejar_from_dict(cookies)
579
-
580
- cookie_header = get_cookie_header(self._cookies, self)
581
- if cookie_header is not None:
582
- self.headers['Cookie'] = cookie_header
583
-
584
- def prepare_hooks(self, hooks):
585
- """Prepares the given hooks."""
586
- # hooks can be passed as None to the prepare method and to this
587
- # method. To prevent iterating over None, simply use an empty list
588
- # if hooks is False-y
589
- hooks = hooks or []
590
- for event in hooks:
591
- self.register_hook(event, hooks[event])
592
-
593
-
594
- class Response(object):
595
- """The :class:`Response <Response>` object, which contains a
596
- server's response to an HTTP request.
597
- """
598
-
599
- __attrs__ = [
600
- '_content', 'status_code', 'headers', 'url', 'history',
601
- 'encoding', 'reason', 'cookies', 'elapsed', 'request'
602
- ]
603
-
604
- def __init__(self):
605
- self._content = False
606
- self._content_consumed = False
607
- self._next = None
608
-
609
- #: Integer Code of responded HTTP Status, e.g. 404 or 200.
610
- self.status_code = None
611
-
612
- #: Case-insensitive Dictionary of Response Headers.
613
- #: For example, ``headers['content-encoding']`` will return the
614
- #: value of a ``'Content-Encoding'`` response header.
615
- self.headers = CaseInsensitiveDict()
616
-
617
- #: File-like object representation of response (for advanced usage).
618
- #: Use of ``raw`` requires that ``stream=True`` be set on the request.
619
- #: This requirement does not apply for use internally to Requests.
620
- self.raw = None
621
-
622
- #: Final URL location of Response.
623
- self.url = None
624
-
625
- #: Encoding to decode with when accessing r.text.
626
- self.encoding = None
627
-
628
- #: A list of :class:`Response <Response>` objects from
629
- #: the history of the Request. Any redirect responses will end
630
- #: up here. The list is sorted from the oldest to the most recent request.
631
- self.history = []
632
-
633
- #: Textual reason of responded HTTP Status, e.g. "Not Found" or "OK".
634
- self.reason = None
635
-
636
- #: A CookieJar of Cookies the server sent back.
637
- self.cookies = cookiejar_from_dict({})
638
-
639
- #: The amount of time elapsed between sending the request
640
- #: and the arrival of the response (as a timedelta).
641
- #: This property specifically measures the time taken between sending
642
- #: the first byte of the request and finishing parsing the headers. It
643
- #: is therefore unaffected by consuming the response content or the
644
- #: value of the ``stream`` keyword argument.
645
- self.elapsed = datetime.timedelta(0)
646
-
647
- #: The :class:`PreparedRequest <PreparedRequest>` object to which this
648
- #: is a response.
649
- self.request = None
650
-
651
- def __enter__(self):
652
- return self
653
-
654
- def __exit__(self, *args):
655
- self.close()
656
-
657
- def __getstate__(self):
658
- # Consume everything; accessing the content attribute makes
659
- # sure the content has been fully read.
660
- if not self._content_consumed:
661
- self.content
662
-
663
- return {attr: getattr(self, attr, None) for attr in self.__attrs__}
664
-
665
- def __setstate__(self, state):
666
- for name, value in state.items():
667
- setattr(self, name, value)
668
-
669
- # pickled objects do not have .raw
670
- setattr(self, '_content_consumed', True)
671
- setattr(self, 'raw', None)
672
-
673
- def __repr__(self):
674
- return '<Response [%s]>' % (self.status_code)
675
-
676
- def __bool__(self):
677
- """Returns True if :attr:`status_code` is less than 400.
678
-
679
- This attribute checks if the status code of the response is between
680
- 400 and 600 to see if there was a client error or a server error. If
681
- the status code, is between 200 and 400, this will return True. This
682
- is **not** a check to see if the response code is ``200 OK``.
683
- """
684
- return self.ok
685
-
686
- def __nonzero__(self):
687
- """Returns True if :attr:`status_code` is less than 400.
688
-
689
- This attribute checks if the status code of the response is between
690
- 400 and 600 to see if there was a client error or a server error. If
691
- the status code, is between 200 and 400, this will return True. This
692
- is **not** a check to see if the response code is ``200 OK``.
693
- """
694
- return self.ok
695
-
696
- def __iter__(self):
697
- """Allows you to use a response as an iterator."""
698
- return self.iter_content(128)
699
-
700
- @property
701
- def ok(self):
702
- """Returns True if :attr:`status_code` is less than 400, False if not.
703
-
704
- This attribute checks if the status code of the response is between
705
- 400 and 600 to see if there was a client error or a server error. If
706
- the status code is between 200 and 400, this will return True. This
707
- is **not** a check to see if the response code is ``200 OK``.
708
- """
709
- try:
710
- self.raise_for_status()
711
- except HTTPError:
712
- return False
713
- return True
714
-
715
- @property
716
- def is_redirect(self):
717
- """True if this Response is a well-formed HTTP redirect that could have
718
- been processed automatically (by :meth:`Session.resolve_redirects`).
719
- """
720
- return ('location' in self.headers and self.status_code in REDIRECT_STATI)
721
-
722
- @property
723
- def is_permanent_redirect(self):
724
- """True if this Response one of the permanent versions of redirect."""
725
- return ('location' in self.headers and self.status_code in (codes.moved_permanently, codes.permanent_redirect))
726
-
727
- @property
728
- def next(self):
729
- """Returns a PreparedRequest for the next request in a redirect chain, if there is one."""
730
- return self._next
731
-
732
- @property
733
- def apparent_encoding(self):
734
- """The apparent encoding, provided by the charset_normalizer or chardet libraries."""
735
- return chardet.detect(self.content)['encoding']
736
-
737
- def iter_content(self, chunk_size=1, decode_unicode=False):
738
- """Iterates over the response data. When stream=True is set on the
739
- request, this avoids reading the content at once into memory for
740
- large responses. The chunk size is the number of bytes it should
741
- read into memory. This is not necessarily the length of each item
742
- returned as decoding can take place.
743
-
744
- chunk_size must be of type int or None. A value of None will
745
- function differently depending on the value of `stream`.
746
- stream=True will read data as it arrives in whatever size the
747
- chunks are received. If stream=False, data is returned as
748
- a single chunk.
749
-
750
- If decode_unicode is True, content will be decoded using the best
751
- available encoding based on the response.
752
- """
753
-
754
- def generate():
755
- # Special case for urllib3.
756
- if hasattr(self.raw, 'stream'):
757
- try:
758
- for chunk in self.raw.stream(chunk_size, decode_content=True):
759
- yield chunk
760
- except ProtocolError as e:
761
- raise ChunkedEncodingError(e)
762
- except DecodeError as e:
763
- raise ContentDecodingError(e)
764
- except ReadTimeoutError as e:
765
- raise ConnectionError(e)
766
- else:
767
- # Standard file-like object.
768
- while True:
769
- chunk = self.raw.read(chunk_size)
770
- if not chunk:
771
- break
772
- yield chunk
773
-
774
- self._content_consumed = True
775
-
776
- if self._content_consumed and isinstance(self._content, bool):
777
- raise StreamConsumedError()
778
- elif chunk_size is not None and not isinstance(chunk_size, int):
779
- raise TypeError("chunk_size must be an int, it is instead a %s." % type(chunk_size))
780
- # simulate reading small chunks of the content
781
- reused_chunks = iter_slices(self._content, chunk_size)
782
-
783
- stream_chunks = generate()
784
-
785
- chunks = reused_chunks if self._content_consumed else stream_chunks
786
-
787
- if decode_unicode:
788
- chunks = stream_decode_response_unicode(chunks, self)
789
-
790
- return chunks
791
-
792
- def iter_lines(self, chunk_size=ITER_CHUNK_SIZE, decode_unicode=False, delimiter=None):
793
- """Iterates over the response data, one line at a time. When
794
- stream=True is set on the request, this avoids reading the
795
- content at once into memory for large responses.
796
-
797
- .. note:: This method is not reentrant safe.
798
- """
799
-
800
- pending = None
801
-
802
- for chunk in self.iter_content(chunk_size=chunk_size, decode_unicode=decode_unicode):
803
-
804
- if pending is not None:
805
- chunk = pending + chunk
806
-
807
- if delimiter:
808
- lines = chunk.split(delimiter)
809
- else:
810
- lines = chunk.splitlines()
811
-
812
- if lines and lines[-1] and chunk and lines[-1][-1] == chunk[-1]:
813
- pending = lines.pop()
814
- else:
815
- pending = None
816
-
817
- for line in lines:
818
- yield line
819
-
820
- if pending is not None:
821
- yield pending
822
-
823
- @property
824
- def content(self):
825
- """Content of the response, in bytes."""
826
-
827
- if self._content is False:
828
- # Read the contents.
829
- if self._content_consumed:
830
- raise RuntimeError(
831
- 'The content for this response was already consumed')
832
-
833
- if self.status_code == 0 or self.raw is None:
834
- self._content = None
835
- else:
836
- self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
837
-
838
- self._content_consumed = True
839
- # don't need to release the connection; that's been handled by urllib3
840
- # since we exhausted the data.
841
- return self._content
842
-
843
- @property
844
- def text(self):
845
- """Content of the response, in unicode.
846
-
847
- If Response.encoding is None, encoding will be guessed using
848
- ``charset_normalizer`` or ``chardet``.
849
-
850
- The encoding of the response content is determined based solely on HTTP
851
- headers, following RFC 2616 to the letter. If you can take advantage of
852
- non-HTTP knowledge to make a better guess at the encoding, you should
853
- set ``r.encoding`` appropriately before accessing this property.
854
- """
855
-
856
- # Try charset from content-type
857
- content = None
858
- encoding = self.encoding
859
-
860
- if not self.content:
861
- return str('')
862
-
863
- # Fallback to auto-detected encoding.
864
- if self.encoding is None:
865
- encoding = self.apparent_encoding
866
-
867
- # Decode unicode from given encoding.
868
- try:
869
- content = str(self.content, encoding, errors='replace')
870
- except (LookupError, TypeError):
871
- # A LookupError is raised if the encoding was not found which could
872
- # indicate a misspelling or similar mistake.
873
- #
874
- # A TypeError can be raised if encoding is None
875
- #
876
- # So we try blindly encoding.
877
- content = str(self.content, errors='replace')
878
-
879
- return content
880
-
881
- def json(self, **kwargs):
882
- r"""Returns the json-encoded content of a response, if any.
883
-
884
- :param \*\*kwargs: Optional arguments that ``json.loads`` takes.
885
- :raises simplejson.JSONDecodeError: If the response body does not
886
- contain valid json and simplejson is installed.
887
- :raises json.JSONDecodeError: If the response body does not contain
888
- valid json and simplejson is not installed on Python 3.
889
- :raises ValueError: If the response body does not contain valid
890
- json and simplejson is not installed on Python 2.
891
- """
892
-
893
- if not self.encoding and self.content and len(self.content) > 3:
894
- # No encoding set. JSON RFC 4627 section 3 states we should expect
895
- # UTF-8, -16 or -32. Detect which one to use; If the detection or
896
- # decoding fails, fall back to `self.text` (using charset_normalizer to make
897
- # a best guess).
898
- encoding = guess_json_utf(self.content)
899
- if encoding is not None:
900
- try:
901
- return complexjson.loads(
902
- self.content.decode(encoding), **kwargs
903
- )
904
- except UnicodeDecodeError:
905
- # Wrong UTF codec detected; usually because it's not UTF-8
906
- # but some other 8-bit codec. This is an RFC violation,
907
- # and the server didn't bother to tell us what codec *was*
908
- # used.
909
- pass
910
- return complexjson.loads(self.text, **kwargs)
911
-
912
- @property
913
- def links(self):
914
- """Returns the parsed header links of the response, if any."""
915
-
916
- header = self.headers.get('link')
917
-
918
- # l = MultiDict()
919
- l = {}
920
-
921
- if header:
922
- links = parse_header_links(header)
923
-
924
- for link in links:
925
- key = link.get('rel') or link.get('url')
926
- l[key] = link
927
-
928
- return l
929
-
930
- def raise_for_status(self):
931
- """Raises :class:`HTTPError`, if one occurred."""
932
-
933
- http_error_msg = ''
934
- if isinstance(self.reason, bytes):
935
- # We attempt to decode utf-8 first because some servers
936
- # choose to localize their reason strings. If the string
937
- # isn't utf-8, we fall back to iso-8859-1 for all other
938
- # encodings. (See PR #3538)
939
- try:
940
- reason = self.reason.decode('utf-8')
941
- except UnicodeDecodeError:
942
- reason = self.reason.decode('iso-8859-1')
943
- else:
944
- reason = self.reason
945
-
946
- if 400 <= self.status_code < 500:
947
- http_error_msg = u'%s Client Error: %s for url: %s' % (self.status_code, reason, self.url)
948
-
949
- elif 500 <= self.status_code < 600:
950
- http_error_msg = u'%s Server Error: %s for url: %s' % (self.status_code, reason, self.url)
951
-
952
- if http_error_msg:
953
- raise HTTPError(http_error_msg, response=self)
954
-
955
- def close(self):
956
- """Releases the connection back to the pool. Once this method has been
957
- called the underlying ``raw`` object must not be accessed again.
958
-
959
- *Note: Should not normally need to be called explicitly.*
960
- """
961
- if not self._content_consumed:
962
- self.raw.close()
963
-
964
- release_conn = getattr(self.raw, 'release_conn', None)
965
- if release_conn is not None:
966
- release_conn()