py2docfx 0.1.10.dev1859594__py3-none-any.whl → 0.1.10.dev1870645__py3-none-any.whl
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.
- py2docfx/__main__.py +112 -15
- py2docfx/convert_prepare/environment.py +44 -4
- py2docfx/convert_prepare/generate_document.py +19 -5
- py2docfx/convert_prepare/get_source.py +19 -3
- py2docfx/convert_prepare/pip_utils.py +10 -0
- py2docfx/convert_prepare/sphinx_caller.py +7 -3
- py2docfx/convert_prepare/tests/test_generate_document.py +0 -1
- py2docfx/docfx_yaml/tests/roots/test-writer-uri/code_with_uri.py +0 -7
- py2docfx/docfx_yaml/tests/test_writer_uri.py +0 -4
- py2docfx/docfx_yaml/writer.py +1 -13
- py2docfx/venv/venv0/Lib/site-packages/_distutils_hack/__init__.py +240 -0
- py2docfx/venv/venv0/Lib/site-packages/_distutils_hack/override.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/_yaml/__init__.py +33 -0
- py2docfx/venv/venv0/Lib/site-packages/alabaster/__init__.py +35 -0
- py2docfx/venv/venv0/Lib/site-packages/alabaster/support.py +89 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/__init__.py +37 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/core.py +1300 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/dates.py +1925 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/languages.py +72 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/lists.py +123 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/localedata.py +278 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/localtime/__init__.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/localtime/_fallback.py +44 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/localtime/_helpers.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/localtime/_unix.py +98 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/localtime/_win32.py +98 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/__init__.py +21 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/_compat.py +34 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/catalog.py +952 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/checkers.py +168 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/extract.py +843 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/frontend.py +1203 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/jslexer.py +203 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/mofile.py +212 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/plurals.py +257 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/pofile.py +675 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/setuptools_frontend.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/numbers.py +1573 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/plural.py +640 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/support.py +726 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/units.py +343 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/util.py +269 -0
- py2docfx/venv/venv0/Lib/site-packages/certifi/__init__.py +4 -0
- py2docfx/venv/venv0/Lib/site-packages/certifi/__main__.py +12 -0
- py2docfx/venv/venv0/Lib/site-packages/certifi/core.py +114 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/__init__.py +46 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/__main__.py +4 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/api.py +626 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/cd.py +395 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/cli/__init__.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/cli/__main__.py +296 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/constant.py +1995 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/legacy.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/md.py +615 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/models.py +340 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/utils.py +421 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/version.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/__init__.py +7 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/ansi.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/ansitowin32.py +277 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/initialise.py +121 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/tests/__init__.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/tests/ansi_test.py +76 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/tests/ansitowin32_test.py +294 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/tests/initialise_test.py +189 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/tests/isatty_test.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/tests/utils.py +49 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/tests/winterm_test.py +131 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/win32.py +180 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/winterm.py +195 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/__init__.py +284 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/__main__.py +96 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/core.py +714 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/examples.py +99 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/frontend.py +951 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/io.py +611 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/__init__.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/af.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/ar.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/ca.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/cs.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/da.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/de.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/en.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/eo.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/es.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/fa.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/fi.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/fr.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/gl.py +62 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/he.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/it.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/ja.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/ko.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/lt.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/lv.py +59 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/nl.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/pl.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/pt_br.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/ru.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/sk.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/sv.py +59 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/zh_cn.py +66 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/zh_tw.py +65 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/nodes.py +2314 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/__init__.py +92 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/commonmark_wrapper.py +56 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/null.py +20 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/recommonmark_wrapper.py +136 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/__init__.py +414 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/__init__.py +460 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/admonitions.py +99 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/body.py +304 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/html.py +21 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/images.py +163 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/misc.py +635 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/parts.py +126 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/references.py +29 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/tables.py +513 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/__init__.py +40 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/af.py +107 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/ar.py +99 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/ca.py +126 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/cs.py +110 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/da.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/de.py +106 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/en.py +111 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/eo.py +118 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/es.py +122 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/fa.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/fi.py +98 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/fr.py +104 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/gl.py +111 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/he.py +109 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/it.py +98 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/ja.py +119 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/ko.py +111 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/lt.py +109 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/lv.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/nl.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/pl.py +100 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/pt_br.py +109 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/ru.py +90 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/sk.py +96 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/sv.py +96 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/zh_cn.py +104 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/zh_tw.py +109 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/roles.py +439 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/states.py +3135 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/tableparser.py +539 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/readers/__init__.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/readers/doctree.py +46 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/readers/pep.py +48 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/readers/standalone.py +65 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/statemachine.py +1525 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/__init__.py +174 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/components.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/frontmatter.py +545 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/misc.py +144 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/parts.py +176 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/peps.py +308 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/references.py +919 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/universal.py +338 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/writer_aux.py +99 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/__init__.py +821 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/code_analyzer.py +138 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/error_reporting.py +222 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/math/__init__.py +52 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/math/latex2mathml.py +1430 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/math/math2html.py +3171 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/math/tex2mathml_extern.py +152 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/math/tex2unichar.py +704 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/math/unichar2tex.py +808 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/punctuation_chars.py +122 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/roman.py +86 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/smartquotes.py +991 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/urischemes.py +138 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/__init__.py +151 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/_html_base.py +1781 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/docutils_xml.py +188 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/html4css1/__init__.py +947 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/html5_polyglot/__init__.py +454 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/latex2e/__init__.py +3295 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/manpage.py +1181 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/null.py +21 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/odf_odt/__init__.py +3468 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/odf_odt/pygmentsformatter.py +109 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/pep_html/__init__.py +103 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/pseudoxml.py +40 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/s5_html/__init__.py +352 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/xetex/__init__.py +149 -0
- py2docfx/venv/venv0/Lib/site-packages/idna/__init__.py +45 -0
- py2docfx/venv/venv0/Lib/site-packages/idna/codec.py +122 -0
- py2docfx/venv/venv0/Lib/site-packages/idna/compat.py +15 -0
- py2docfx/venv/venv0/Lib/site-packages/idna/core.py +437 -0
- py2docfx/venv/venv0/Lib/site-packages/idna/idnadata.py +4243 -0
- py2docfx/venv/venv0/Lib/site-packages/idna/intranges.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/idna/package_data.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/idna/uts46data.py +8681 -0
- py2docfx/venv/venv0/Lib/site-packages/imagesize/__init__.py +5 -0
- py2docfx/venv/venv0/Lib/site-packages/imagesize/imagesize.py +376 -0
- py2docfx/venv/venv0/Lib/site-packages/imagesize.py +383 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/__init__.py +45 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/_identifier.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/async_utils.py +75 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/bccache.py +364 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/compiler.py +1957 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/constants.py +20 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/debug.py +259 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/defaults.py +48 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/environment.py +1661 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/exceptions.py +166 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/ext.py +879 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/filters.py +1824 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/idtracking.py +318 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/lexer.py +869 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/loaders.py +652 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/meta.py +111 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/nativetypes.py +124 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/nodes.py +1204 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/optimizer.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/parser.py +1040 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/runtime.py +1104 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/sandbox.py +428 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/tests.py +255 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/utils.py +854 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/visitor.py +92 -0
- py2docfx/venv/venv0/Lib/site-packages/markupsafe/__init__.py +332 -0
- py2docfx/venv/venv0/Lib/site-packages/markupsafe/_native.py +63 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/__init__.py +15 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/_elffile.py +110 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/_manylinux.py +262 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/_musllinux.py +85 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/_parser.py +354 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/_structures.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/_tokenizer.py +194 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/markers.py +325 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/metadata.py +804 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/requirements.py +91 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/specifiers.py +1009 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/tags.py +568 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/utils.py +174 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/version.py +563 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/__init__.py +13 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/__main__.py +24 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/__pip-runner__.py +50 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/__init__.py +18 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/build_env.py +311 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cache.py +290 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/__init__.py +4 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/autocompletion.py +172 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/base_command.py +236 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/cmdoptions.py +1074 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/command_context.py +27 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/main.py +79 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/main_parser.py +134 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/parser.py +294 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/progress_bars.py +68 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/req_command.py +505 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/spinners.py +159 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/status_codes.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/__init__.py +132 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/cache.py +225 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/check.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/completion.py +130 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/configuration.py +280 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/debug.py +201 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/download.py +147 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/freeze.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/hash.py +59 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/help.py +41 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/index.py +139 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/inspect.py +92 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/install.py +774 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/list.py +368 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/search.py +174 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/show.py +189 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/uninstall.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/wheel.py +183 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/configuration.py +383 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/distributions/__init__.py +21 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/distributions/base.py +51 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/distributions/installed.py +29 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/distributions/sdist.py +156 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/distributions/wheel.py +40 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/exceptions.py +728 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/index/__init__.py +2 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/index/collector.py +507 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/index/package_finder.py +1027 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/index/sources.py +285 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/locations/__init__.py +467 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/locations/_distutils.py +172 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/locations/_sysconfig.py +213 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/locations/base.py +81 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/main.py +12 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/__init__.py +128 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/_json.py +84 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/base.py +702 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/importlib/__init__.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/importlib/_compat.py +55 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/importlib/_dists.py +227 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/importlib/_envs.py +189 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/pkg_resources.py +278 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/__init__.py +2 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/candidate.py +30 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/direct_url.py +235 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/format_control.py +78 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/index.py +28 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/installation_report.py +56 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/link.py +579 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/scheme.py +31 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/search_scope.py +132 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/selection_prefs.py +51 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/target_python.py +122 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/wheel.py +92 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/__init__.py +2 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/auth.py +561 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/cache.py +106 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/download.py +186 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/lazy_wheel.py +210 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/session.py +520 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/utils.py +96 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/xmlrpc.py +62 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/build_tracker.py +139 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/metadata.py +39 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/metadata_editable.py +41 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/metadata_legacy.py +74 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/wheel.py +37 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/wheel_editable.py +46 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/wheel_legacy.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/check.py +187 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/freeze.py +255 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/install/__init__.py +2 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/install/editable_legacy.py +46 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/install/wheel.py +734 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/prepare.py +730 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/pyproject.py +179 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/req/__init__.py +92 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/req/constructors.py +576 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/req/req_file.py +554 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/req/req_install.py +923 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/req/req_set.py +119 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/req/req_uninstall.py +649 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/base.py +20 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/legacy/resolver.py +598 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/base.py +141 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/candidates.py +597 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/factory.py +812 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +155 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/provider.py +255 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/reporter.py +80 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/requirements.py +166 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/resolver.py +317 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/self_outdated_check.py +248 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/_jaraco_text.py +109 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/_log.py +38 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/appdirs.py +52 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/compat.py +63 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/compatibility_tags.py +165 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/datetime.py +11 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/deprecation.py +120 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/direct_url_helpers.py +87 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/egg_link.py +80 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/encoding.py +36 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/entrypoints.py +84 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/filesystem.py +153 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/filetypes.py +27 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/glibc.py +88 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/hashes.py +151 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/logging.py +348 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/misc.py +783 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/models.py +39 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/packaging.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/setuptools_build.py +146 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/subprocess.py +260 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/temp_dir.py +296 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/unpacking.py +257 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/urls.py +62 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/virtualenv.py +104 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/wheel.py +134 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/vcs/__init__.py +15 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/vcs/bazaar.py +112 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/vcs/git.py +526 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/vcs/mercurial.py +163 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/vcs/subversion.py +324 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/vcs/versioncontrol.py +705 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/wheel_builder.py +354 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/__init__.py +121 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/__init__.py +28 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/_cmd.py +70 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/adapter.py +161 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/cache.py +74 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +8 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +181 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +48 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/controller.py +494 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/filewrapper.py +119 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/heuristics.py +154 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/serialize.py +206 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/wrapper.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/certifi/__init__.py +4 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/certifi/__main__.py +12 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/certifi/core.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/__init__.py +115 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/big5freq.py +386 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/big5prober.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/chardistribution.py +261 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/charsetgroupprober.py +106 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/charsetprober.py +147 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/cli/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/cli/chardetect.py +112 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/codingstatemachine.py +90 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/codingstatemachinedict.py +19 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/cp949prober.py +49 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/enums.py +85 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/escprober.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/escsm.py +261 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/eucjpprober.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/euckrfreq.py +196 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/euckrprober.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/euctwfreq.py +388 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/euctwprober.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/gb2312freq.py +284 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/gb2312prober.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/hebrewprober.py +316 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/jisfreq.py +325 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/johabfreq.py +2382 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/johabprober.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/jpcntx.py +238 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langbulgarianmodel.py +4649 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langgreekmodel.py +4397 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langhebrewmodel.py +4380 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langhungarianmodel.py +4649 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langrussianmodel.py +5725 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langthaimodel.py +4380 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langturkishmodel.py +4380 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/latin1prober.py +147 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/macromanprober.py +162 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/mbcharsetprober.py +95 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/mbcsgroupprober.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/mbcssm.py +661 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/metadata/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/metadata/languages.py +352 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/resultdict.py +16 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/sbcharsetprober.py +162 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/sbcsgroupprober.py +88 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/sjisprober.py +105 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/universaldetector.py +362 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/utf1632prober.py +225 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/utf8prober.py +82 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/version.py +9 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/__init__.py +7 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/ansi.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/ansitowin32.py +277 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/initialise.py +121 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/__init__.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/ansi_test.py +76 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/ansitowin32_test.py +294 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/initialise_test.py +189 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/isatty_test.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/utils.py +49 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/winterm_test.py +131 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/win32.py +180 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/winterm.py +195 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/__init__.py +33 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/compat.py +1138 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/database.py +1359 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/index.py +508 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/locators.py +1303 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/manifest.py +384 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/markers.py +167 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/metadata.py +1068 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/resources.py +358 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/scripts.py +452 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/util.py +2025 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/version.py +751 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/wheel.py +1099 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distro/__init__.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distro/__main__.py +4 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distro/distro.py +1399 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/__init__.py +44 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/codec.py +112 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/compat.py +13 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/core.py +400 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/idnadata.py +2151 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/intranges.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/package_data.py +2 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/uts46data.py +8600 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/msgpack/__init__.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/msgpack/ext.py +193 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/msgpack/fallback.py +1010 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/__about__.py +26 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/__init__.py +25 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/_manylinux.py +301 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/_musllinux.py +136 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/_structures.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/markers.py +304 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/requirements.py +146 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/specifiers.py +802 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/tags.py +487 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/utils.py +136 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/version.py +504 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pkg_resources/__init__.py +3361 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/__init__.py +566 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/__main__.py +53 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/android.py +210 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/api.py +223 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/macos.py +91 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/unix.py +223 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/version.py +4 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/windows.py +255 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/__init__.py +82 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/__main__.py +17 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/cmdline.py +668 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/console.py +70 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/filter.py +71 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/filters/__init__.py +940 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatter.py +124 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/__init__.py +158 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/_mapping.py +23 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/bbcode.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/groff.py +170 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/html.py +989 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/img.py +645 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/irc.py +154 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/latex.py +521 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/other.py +161 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/pangomarkup.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/rtf.py +146 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/svg.py +188 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/terminal.py +127 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/terminal256.py +338 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/lexer.py +943 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/lexers/__init__.py +362 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/lexers/_mapping.py +559 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/lexers/python.py +1198 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/modeline.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/plugin.py +88 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/regexopt.py +91 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/scanner.py +104 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/sphinxext.py +217 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/style.py +197 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/styles/__init__.py +103 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/token.py +213 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/unistring.py +153 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/util.py +330 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/__init__.py +322 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/actions.py +217 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/common.py +432 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/core.py +6115 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/diagram/__init__.py +656 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/exceptions.py +299 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/helpers.py +1100 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/results.py +796 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/testing.py +331 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/unicode.py +361 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/util.py +284 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyproject_hooks/__init__.py +23 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyproject_hooks/_compat.py +8 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyproject_hooks/_impl.py +330 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py +18 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py +353 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/__init__.py +182 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/__version__.py +14 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/_internal_utils.py +50 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/adapters.py +538 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/api.py +157 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/auth.py +315 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/certs.py +24 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/compat.py +67 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/cookies.py +561 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/exceptions.py +141 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/help.py +131 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/hooks.py +33 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/models.py +1034 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/packages.py +16 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/sessions.py +833 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/status_codes.py +128 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/structures.py +99 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/utils.py +1094 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/__init__.py +26 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/providers.py +133 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/reporters.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/resolvers.py +547 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/structs.py +170 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/__init__.py +177 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/__main__.py +274 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_cell_widths.py +451 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_emoji_codes.py +3610 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_emoji_replace.py +32 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_export_format.py +76 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_extension.py +10 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_fileno.py +24 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_inspect.py +270 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_log_render.py +94 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_loop.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_null_file.py +69 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_palettes.py +309 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_pick.py +17 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_ratio.py +160 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_spinners.py +482 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_stack.py +16 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_timer.py +19 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_win32_console.py +662 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_windows.py +72 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_windows_renderer.py +56 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_wrap.py +56 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/abc.py +33 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/align.py +311 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/ansi.py +240 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/bar.py +94 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/box.py +517 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/cells.py +154 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/color.py +622 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/color_triplet.py +38 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/columns.py +187 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/console.py +2633 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/constrain.py +37 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/containers.py +167 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/control.py +225 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/default_styles.py +190 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/diagnose.py +37 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/emoji.py +96 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/errors.py +34 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/file_proxy.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/filesize.py +89 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/highlighter.py +232 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/json.py +140 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/jupyter.py +101 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/layout.py +443 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/live.py +375 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/live_render.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/logging.py +289 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/markup.py +246 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/measure.py +151 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/padding.py +141 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/pager.py +34 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/palette.py +100 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/panel.py +308 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/pretty.py +994 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/progress.py +1702 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/progress_bar.py +224 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/prompt.py +376 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/protocol.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/region.py +10 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/repr.py +149 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/rule.py +130 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/scope.py +86 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/screen.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/segment.py +739 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/spinner.py +137 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/status.py +132 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/style.py +796 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/styled.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/syntax.py +948 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/table.py +1002 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/terminal_theme.py +153 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/text.py +1307 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/theme.py +115 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/themes.py +5 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/traceback.py +756 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/tree.py +251 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/six.py +998 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/__init__.py +608 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/_asyncio.py +94 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/_utils.py +76 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/after.py +51 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/before.py +46 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/before_sleep.py +71 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/nap.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/retry.py +272 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/stop.py +103 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/tornadoweb.py +59 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/wait.py +228 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tomli/__init__.py +11 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tomli/_parser.py +691 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tomli/_re.py +107 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tomli/_types.py +10 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/truststore/__init__.py +13 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/truststore/_api.py +302 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/truststore/_macos.py +501 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/truststore/_openssl.py +66 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/truststore/_ssl_constants.py +31 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/truststore/_windows.py +554 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/typing_extensions.py +3072 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/__init__.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/_collections.py +337 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/_version.py +2 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/connection.py +572 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py +1132 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +36 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +519 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +397 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/appengine.py +314 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +130 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +518 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +921 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/socks.py +216 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/exceptions.py +323 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/fields.py +274 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/filepost.py +98 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +51 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/packages/backports/weakref_finalize.py +155 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/packages/six.py +1076 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/poolmanager.py +537 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/request.py +191 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/response.py +879 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/__init__.py +49 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/connection.py +149 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/proxy.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/queue.py +22 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/request.py +137 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/response.py +107 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/retry.py +620 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/ssl_.py +495 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +159 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/ssltransport.py +221 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/timeout.py +271 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/url.py +435 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/wait.py +152 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/webencodings/__init__.py +342 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/webencodings/labels.py +231 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/webencodings/mklabels.py +59 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/webencodings/tests.py +153 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/webencodings/x_user_defined.py +325 -0
- py2docfx/venv/venv0/Lib/site-packages/pkg_resources/__init__.py +3725 -0
- py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py +7 -0
- py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/test_find_distributions.py +56 -0
- py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/test_integration_zope_interface.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/test_markers.py +8 -0
- py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/test_pkg_resources.py +427 -0
- py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/test_resources.py +869 -0
- py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/test_working_set.py +501 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/__init__.py +82 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/__main__.py +17 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/cmdline.py +668 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/console.py +70 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/filter.py +70 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/filters/__init__.py +940 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatter.py +129 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/__init__.py +157 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/_mapping.py +23 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/bbcode.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/groff.py +170 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/html.py +987 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/img.py +685 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/irc.py +154 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/latex.py +518 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/other.py +160 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/pangomarkup.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/rtf.py +349 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/svg.py +185 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/terminal.py +127 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/terminal256.py +338 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexer.py +961 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/__init__.py +362 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_ada_builtins.py +103 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_asy_builtins.py +1644 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_cl_builtins.py +231 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_cocoa_builtins.py +75 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_csound_builtins.py +1780 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_css_builtins.py +558 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_julia_builtins.py +411 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_lasso_builtins.py +5326 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_lilypond_builtins.py +4932 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_lua_builtins.py +285 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_luau_builtins.py +62 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_mapping.py +589 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_mql_builtins.py +1171 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_mysql_builtins.py +1335 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_openedge_builtins.py +2600 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_php_builtins.py +3325 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_postgres_builtins.py +739 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_qlik_builtins.py +666 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_scheme_builtins.py +1609 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_scilab_builtins.py +3093 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_sourcemod_builtins.py +1151 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_stan_builtins.py +648 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_stata_builtins.py +457 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_tsql_builtins.py +1003 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_usd_builtins.py +112 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_vbscript_builtins.py +279 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_vim_builtins.py +1938 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/actionscript.py +243 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ada.py +144 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/agile.py +25 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/algebra.py +298 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ambient.py +75 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/amdgpu.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ampl.py +87 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/apdlexer.py +593 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/apl.py +103 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/archetype.py +315 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/arrow.py +116 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/arturo.py +249 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/asc.py +55 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/asm.py +1050 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/asn1.py +178 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/automation.py +379 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/bare.py +101 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/basic.py +656 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/bdd.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/berry.py +99 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/bibtex.py +159 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/blueprint.py +173 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/boa.py +97 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/bqn.py +109 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/business.py +625 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/c_cpp.py +414 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/c_like.py +738 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/capnproto.py +74 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/carbon.py +95 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/cddl.py +172 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/chapel.py +139 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/clean.py +180 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/comal.py +81 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/compiled.py +35 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/configs.py +1424 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/console.py +114 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/cplint.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/crystal.py +364 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/csound.py +466 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/css.py +602 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/d.py +259 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/dalvik.py +126 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/data.py +763 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/dax.py +135 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/devicetree.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/diff.py +169 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/dns.py +109 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/dotnet.py +846 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/dsls.py +970 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/dylan.py +279 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ecl.py +144 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/eiffel.py +68 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/elm.py +123 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/elpi.py +172 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/email.py +132 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/erlang.py +526 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/esoteric.py +300 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ezhil.py +76 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/factor.py +363 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/fantom.py +251 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/felix.py +275 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/fift.py +68 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/floscript.py +81 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/forth.py +178 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/fortran.py +212 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/foxpro.py +427 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/freefem.py +893 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/func.py +110 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/functional.py +21 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/futhark.py +105 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/gcodelexer.py +35 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/gdscript.py +189 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/go.py +97 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/grammar_notation.py +262 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/graph.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/graphics.py +794 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/graphql.py +176 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/graphviz.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/gsql.py +103 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/haskell.py +866 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/haxe.py +935 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/hdl.py +466 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/hexdump.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/html.py +626 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/idl.py +284 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/igor.py +435 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/inferno.py +95 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/installers.py +325 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/int_fiction.py +1370 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/iolang.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/j.py +151 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/javascript.py +1587 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/jmespath.py +69 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/jslt.py +94 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/jsonnet.py +169 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/jsx.py +75 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/julia.py +293 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/jvm.py +1802 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/kuin.py +332 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/kusto.py +93 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ldap.py +155 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/lean.py +241 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/lilypond.py +225 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/lisp.py +3146 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/macaulay2.py +1788 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/make.py +212 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/markup.py +1654 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/math.py +21 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/matlab.py +3306 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/maxima.py +84 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/meson.py +139 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/mime.py +210 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/minecraft.py +391 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/mips.py +130 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ml.py +958 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/modeling.py +366 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/modula2.py +1579 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/mojo.py +704 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/monte.py +203 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/mosel.py +447 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ncl.py +894 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/nimrod.py +199 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/nit.py +63 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/nix.py +144 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/oberon.py +120 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/objective.py +513 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ooc.py +84 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/openscad.py +96 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/other.py +41 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/parasail.py +78 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/parsers.py +798 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/pascal.py +644 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/pawn.py +202 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/perl.py +733 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/phix.py +363 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/php.py +334 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/pointless.py +70 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/pony.py +93 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/praat.py +303 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/procfile.py +41 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/prolog.py +318 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/promql.py +176 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/prql.py +251 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ptx.py +119 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/python.py +1198 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/q.py +187 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/qlik.py +117 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/qvt.py +153 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/r.py +192 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/rdf.py +468 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/rebol.py +419 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/resource.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ride.py +138 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/rita.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/rnc.py +66 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/roboconf.py +81 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/robotframework.py +551 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ruby.py +518 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/rust.py +222 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/sas.py +227 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/savi.py +171 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/scdoc.py +85 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/scripting.py +1598 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/sgf.py +59 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/shell.py +898 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/sieve.py +78 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/slash.py +183 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/smalltalk.py +194 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/smithy.py +77 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/smv.py +78 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/snobol.py +82 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/solidity.py +87 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/soong.py +78 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/sophia.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/special.py +121 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/spice.py +70 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/sql.py +1033 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/srcinfo.py +62 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/stata.py +170 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/supercollider.py +94 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/tact.py +303 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/tal.py +77 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/tcl.py +148 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/teal.py +88 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/templates.py +2355 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/teraterm.py +325 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/testing.py +209 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/text.py +27 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/textedit.py +205 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/textfmts.py +436 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/theorem.py +410 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/thingsdb.py +140 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/tlb.py +59 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/tls.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/tnt.py +270 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/trafficscript.py +51 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/typoscript.py +216 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/typst.py +104 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ul4.py +309 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/unicon.py +413 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/urbi.py +145 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/usd.py +85 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/varnish.py +189 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/verification.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/verifpal.py +65 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/vip.py +150 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/vyper.py +140 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/web.py +24 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/webassembly.py +119 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/webidl.py +298 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/webmisc.py +1006 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/wgsl.py +406 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/whiley.py +115 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/wowtoc.py +120 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/wren.py +98 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/x10.py +66 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/xorg.py +38 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/yang.py +103 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/yara.py +69 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/zig.py +125 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/modeline.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/plugin.py +72 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/regexopt.py +91 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/scanner.py +104 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/sphinxext.py +247 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/style.py +203 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/__init__.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/_mapping.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/abap.py +32 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/algol.py +65 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/algol_nu.py +65 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/arduino.py +100 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/autumn.py +67 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/borland.py +53 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/bw.py +52 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/coffee.py +80 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/colorful.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/default.py +76 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/dracula.py +90 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/emacs.py +75 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/friendly.py +76 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/friendly_grayscale.py +80 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/fruity.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/gh_dark.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/gruvbox.py +118 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/igor.py +32 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/inkpot.py +72 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/lightbulb.py +110 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/lilypond.py +62 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/lovelace.py +100 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/manni.py +79 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/material.py +124 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/monokai.py +112 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/murphy.py +82 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/native.py +70 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/nord.py +156 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/onedark.py +63 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/paraiso_dark.py +124 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/paraiso_light.py +124 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/pastie.py +78 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/perldoc.py +73 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/rainbow_dash.py +95 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/rrt.py +39 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/sas.py +46 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/solarized.py +144 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/staroffice.py +31 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/stata_dark.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/stata_light.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/tango.py +143 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/trac.py +66 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/vim.py +67 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/vs.py +41 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/xcode.py +53 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/zenburn.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/token.py +214 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/unistring.py +153 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/util.py +324 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/__init__.py +184 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/__version__.py +14 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/_internal_utils.py +50 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/adapters.py +719 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/api.py +157 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/auth.py +314 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/certs.py +17 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/compat.py +94 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/cookies.py +561 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/exceptions.py +151 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/help.py +134 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/hooks.py +33 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/models.py +1037 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/packages.py +23 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/sessions.py +831 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/status_codes.py +128 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/structures.py +99 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/utils.py +1096 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/__init__.py +290 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_core_metadata.py +286 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/__init__.py +14 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/_log.py +3 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/_macos_compat.py +12 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/_modified.py +73 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +604 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/archive_util.py +264 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/ccompiler.py +1256 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/cmd.py +439 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/__init__.py +23 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/_framework_compat.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/bdist.py +155 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/bdist_dumb.py +140 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/bdist_rpm.py +597 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/build.py +156 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/build_clib.py +208 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/build_ext.py +796 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/build_py.py +406 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/build_scripts.py +170 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/check.py +154 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/clean.py +76 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/config.py +369 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/install.py +811 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/install_data.py +94 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/install_egg_info.py +92 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/install_headers.py +44 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/install_lib.py +234 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/install_scripts.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/sdist.py +515 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/compat/__init__.py +15 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/compat/py38.py +34 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/compat/py39.py +66 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/core.py +286 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/cygwinccompiler.py +339 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/debug.py +5 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/dep_util.py +14 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/dir_util.py +249 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/dist.py +1288 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/errors.py +124 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/extension.py +247 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/fancy_getopt.py +469 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/file_util.py +236 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/filelist.py +369 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/log.py +56 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/spawn.py +117 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/sysconfig.py +583 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/__init__.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/compat/py38.py +50 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/support.py +134 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_archive_util.py +353 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_bdist.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_bdist_dumb.py +78 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_bdist_rpm.py +128 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_build.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_build_clib.py +134 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +563 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_build_py.py +196 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_build_scripts.py +96 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_ccompiler.py +91 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_check.py +194 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_clean.py +45 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_cmd.py +107 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_config_cmd.py +87 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_core.py +130 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_cygwinccompiler.py +81 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_dir_util.py +112 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_dist.py +545 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_extension.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_file_util.py +94 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_filelist.py +336 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_install.py +245 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_install_data.py +74 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_install_headers.py +33 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_install_lib.py +110 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_install_scripts.py +52 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_log.py +12 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_mingwccompiler.py +56 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_modified.py +126 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_msvccompiler.py +137 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_sdist.py +470 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_spawn.py +131 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_sysconfig.py +319 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_text_file.py +127 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_unixccompiler.py +351 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_util.py +243 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_version.py +80 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_versionpredicate.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/unix_compat.py +17 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/text_file.py +286 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/unixccompiler.py +402 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/util.py +505 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/version.py +349 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/versionpredicate.py +175 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/zosccompiler.py +229 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_entry_points.py +90 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_imp.py +87 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_importlib.py +12 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_itertools.py +23 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_normalization.py +144 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_path.py +87 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_reqs.py +41 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/autocommand/__init__.py +27 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/autocommand/autoasync.py +142 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/autocommand/autocommand.py +70 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/autocommand/automain.py +59 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/autocommand/autoparse.py +333 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/autocommand/errors.py +23 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/backports/__init__.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/backports/tarfile/__init__.py +2937 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/backports/tarfile/__main__.py +5 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/backports/tarfile/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/backports/tarfile/compat/py38.py +24 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/__init__.py +1083 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_adapters.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_collections.py +30 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_compat.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_functools.py +104 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_itertools.py +73 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_meta.py +67 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_text.py +99 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/compat/py311.py +22 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/compat/py39.py +36 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/diagnose.py +21 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/__init__.py +36 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/_adapters.py +168 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/_common.py +210 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/_itertools.py +38 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/abc.py +171 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/compat/py38.py +11 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/compat/py39.py +10 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/functional.py +81 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/future/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/future/adapters.py +95 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/readers.py +194 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/simple.py +106 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/_path.py +56 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/compat/py312.py +18 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/compat/py39.py +10 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data01/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data01/subdirectory/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data02/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data02/one/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data02/two/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_compatibilty_files.py +104 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_contents.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_custom.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_files.py +117 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_functional.py +242 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_open.py +89 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_path.py +65 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_read.py +97 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_reader.py +145 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_resource.py +241 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/util.py +164 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/zip.py +32 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/inflect/__init__.py +3986 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/inflect/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/inflect/compat/py38.py +7 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/collections/__init__.py +1091 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/context.py +361 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/functools/__init__.py +633 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/text/__init__.py +624 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/text/layouts.py +25 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/text/show-newlines.py +33 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/text/strip-prefix.py +21 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/text/to-dvorak.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/text/to-qwerty.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/more_itertools/__init__.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/more_itertools/more.py +4806 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/more_itertools/recipes.py +1046 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/__init__.py +15 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/_elffile.py +110 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/_manylinux.py +262 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/_musllinux.py +85 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/_parser.py +354 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/_structures.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/_tokenizer.py +194 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/markers.py +325 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/metadata.py +804 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/requirements.py +91 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/specifiers.py +1009 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/tags.py +568 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/utils.py +174 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/version.py +563 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/__init__.py +627 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/__main__.py +55 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/android.py +249 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/api.py +292 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/macos.py +130 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/unix.py +275 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/version.py +16 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/windows.py +272 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/tomli/__init__.py +11 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/tomli/_parser.py +691 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/tomli/_re.py +107 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/tomli/_types.py +10 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/__init__.py +48 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_checkers.py +993 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_config.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_decorators.py +235 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_exceptions.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_functions.py +308 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_importhook.py +213 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_memo.py +48 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_pytest_plugin.py +127 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_suppression.py +86 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_transformer.py +1229 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_union_transformer.py +55 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_utils.py +173 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typing_extensions.py +3641 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +3 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/__main__.py +23 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +26 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +595 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +155 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +273 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/cli/pack.py +85 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/cli/tags.py +139 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/cli/unpack.py +30 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +469 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +180 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/util.py +26 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_elffile.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_manylinux.py +260 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_musllinux.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_parser.py +356 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_structures.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_tokenizer.py +192 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/markers.py +253 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/requirements.py +90 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/specifiers.py +1011 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/tags.py +571 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/utils.py +172 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/version.py +561 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +196 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/zipp/__init__.py +501 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/zipp/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/zipp/compat/py310.py +11 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/zipp/glob.py +106 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/archive_util.py +217 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/build_meta.py +530 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/__init__.py +13 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/_requirestxt.py +131 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/alias.py +78 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/bdist_egg.py +465 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/bdist_rpm.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/bdist_wheel.py +635 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/build.py +135 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/build_clib.py +110 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/build_ext.py +468 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/build_py.py +404 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/develop.py +195 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/dist_info.py +107 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/easy_install.py +2388 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/editable_wheel.py +927 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/egg_info.py +717 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/install.py +165 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/install_egg_info.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/install_lib.py +134 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/install_scripts.py +73 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/rotate.py +65 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/saveopts.py +21 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/sdist.py +216 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/setopt.py +141 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/test.py +45 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/compat/py310.py +9 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/compat/py311.py +27 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/compat/py312.py +13 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/compat/py39.py +9 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/__init__.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +457 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_validate_pyproject/__init__.py +34 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_validate_pyproject/error_reporting.py +336 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +52 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_exceptions.py +51 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +1319 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +375 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/expand.py +443 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/pyprojecttoml.py +466 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/setupcfg.py +780 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/depends.py +166 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/discovery.py +607 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/dist.py +955 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/errors.py +72 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/extension.py +165 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/glob.py +165 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/installer.py +145 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/launch.py +36 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/logging.py +40 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/modified.py +8 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/monkey.py +126 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/msvc.py +1515 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/namespaces.py +106 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/package_index.py +1148 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/sandbox.py +529 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/__init__.py +13 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/compat/py39.py +3 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/downloads/__init__.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/downloads/preload.py +18 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +511 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/test_expand.py +221 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/test_pyprojecttoml.py +396 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/test_pyprojecttoml_dynamic_deps.py +99 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +969 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/contexts.py +145 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/environment.py +95 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/fixtures.py +157 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/integration/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/integration/helpers.py +77 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +224 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/mod_with_constant.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/namespaces.py +90 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/script-with-bom.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/server.py +86 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_archive_util.py +36 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_bdist_deprecations.py +28 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_bdist_egg.py +69 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +621 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_build.py +33 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_build_clib.py +84 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_build_ext.py +291 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_build_meta.py +970 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_build_py.py +480 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_config_discovery.py +647 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_core_metadata.py +389 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_depends.py +15 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_develop.py +175 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_dist.py +280 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_dist_info.py +210 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_distutils_adoption.py +159 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_easy_install.py +1468 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_editable_install.py +1285 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_egg_info.py +1285 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_extern.py +15 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_find_packages.py +218 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_find_py_modules.py +73 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_glob.py +45 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_install_scripts.py +89 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_logging.py +76 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_manifest.py +631 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_namespaces.py +138 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_packageindex.py +278 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_sandbox.py +134 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_sdist.py +975 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_setopt.py +40 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_setuptools.py +289 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_unicode_utils.py +10 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_virtualenv.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_warnings.py +106 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_wheel.py +707 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_windows_wrappers.py +259 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/text.py +4 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/textwrap.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/unicode_utils.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/version.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/warnings.py +107 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/wheel.py +236 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/windows_support.py +30 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/__init__.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/among.py +13 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/arabic_stemmer.py +1199 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/armenian_stemmer.py +316 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/basestemmer.py +323 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/basque_stemmer.py +683 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/catalan_stemmer.py +784 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/danish_stemmer.py +221 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/dutch_stemmer.py +468 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/english_stemmer.py +731 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/finnish_stemmer.py +548 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/french_stemmer.py +967 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/german_stemmer.py +415 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/greek_stemmer.py +2271 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/hindi_stemmer.py +173 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/hungarian_stemmer.py +520 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/indonesian_stemmer.py +319 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/irish_stemmer.py +276 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/italian_stemmer.py +715 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/lithuanian_stemmer.py +469 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/nepali_stemmer.py +274 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/norwegian_stemmer.py +191 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/porter_stemmer.py +506 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/portuguese_stemmer.py +659 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/romanian_stemmer.py +633 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/russian_stemmer.py +492 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/serbian_stemmer.py +3497 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/spanish_stemmer.py +708 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/swedish_stemmer.py +189 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/tamil_stemmer.py +1788 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/turkish_stemmer.py +1803 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/yiddish_stemmer.py +855 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/__init__.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/__main__.py +5 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/addnodes.py +564 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/application.py +1344 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/__init__.py +671 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/_epub_base.py +708 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/changes.py +159 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/dirhtml.py +51 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/dummy.py +46 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/epub3.py +293 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/gettext.py +306 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/html/__init__.py +1419 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/html/transforms.py +84 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/latex/__init__.py +546 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/latex/constants.py +210 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/latex/nodes.py +37 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/latex/theming.py +132 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/latex/transforms.py +632 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/latex/util.py +48 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/linkcheck.py +598 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/manpage.py +125 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/singlehtml.py +194 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/texinfo.py +224 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/text.py +89 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/xml.py +117 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/cmd/__init__.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/cmd/build.py +324 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/cmd/make_mode.py +161 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/cmd/quickstart.py +609 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/config.py +520 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/deprecation.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/directives/__init__.py +340 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/directives/code.py +483 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/directives/other.py +393 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/directives/patches.py +189 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/__init__.py +403 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/c.py +3880 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/changeset.py +160 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/citation.py +153 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/cpp.py +8162 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/index.py +122 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/javascript.py +499 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/math.py +150 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/python.py +1521 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/rst.py +303 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/std.py +1155 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/__init__.py +730 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/adapters/__init__.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/adapters/asset.py +15 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/adapters/indexentries.py +172 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/adapters/toctree.py +340 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/collectors/__init__.py +73 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/collectors/asset.py +141 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/collectors/dependencies.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/collectors/metadata.py +68 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/collectors/title.py +59 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/collectors/toctree.py +350 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/errors.py +127 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/events.py +120 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/__init__.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/apidoc.py +470 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/__init__.py +2793 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/directive.py +148 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/importer.py +307 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/mock.py +195 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/preserve_defaults.py +124 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/type_comment.py +131 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/typehints.py +216 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autosectionlabel.py +66 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autosummary/__init__.py +837 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autosummary/generate.py +646 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/coverage.py +315 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/doctest.py +561 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/duration.py +90 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/extlinks.py +120 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/githubpages.py +31 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/graphviz.py +416 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/ifconfig.py +78 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/imgconverter.py +92 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/imgmath.py +390 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/inheritance_diagram.py +474 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/intersphinx.py +684 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/linkcode.py +73 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/mathjax.py +122 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/napoleon/__init__.py +474 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/napoleon/docstring.py +1356 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/napoleon/iterators.py +235 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/todo.py +243 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/viewcode.py +341 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/extension.py +82 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/highlighting.py +184 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/io.py +221 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/jinja2glue.py +217 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/locale/__init__.py +261 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/parsers.py +96 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/project.py +94 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/pycode/__init__.py +171 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/pycode/ast.py +211 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/pycode/parser.py +573 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/pygments_styles.py +87 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/registry.py +513 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/roles.py +428 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/__init__.py +593 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/da.py +120 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/de.py +303 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/en.py +220 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/es.py +363 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/fi.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/fr.py +199 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/hu.py +226 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/it.py +316 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/ja.py +536 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/nl.py +127 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/no.py +202 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/pt.py +261 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/ro.py +22 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/ru.py +251 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/sv.py +140 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/tr.py +22 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/zh.py +262 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/setup_command.py +192 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/testing/__init__.py +7 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/testing/comparer.py +97 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/testing/fixtures.py +250 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/testing/path.py +210 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/testing/restructuredtext.py +27 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/testing/util.py +206 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/theming.py +230 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/__init__.py +419 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/compact_bullet_list.py +88 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/i18n.py +528 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/post_transforms/__init__.py +279 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/post_transforms/code.py +136 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/post_transforms/images.py +271 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/references.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/__init__.py +407 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/build_phase.py +12 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/cfamily.py +462 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/console.py +129 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/display.py +87 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/docfields.py +368 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/docstrings.py +88 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/docutils.py +621 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/exceptions.py +67 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/fileutil.py +97 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/http_date.py +20 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/i18n.py +262 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/images.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/inspect.py +811 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/inventory.py +170 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/jsdump.py +201 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/logging.py +603 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/matching.py +166 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/math.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/nodes.py +629 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/osutil.py +221 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/parallel.py +151 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/png.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/requests.py +92 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/rst.py +110 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/stemmer/__init__.py +62 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/tags.py +81 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/template.py +132 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/texescape.py +153 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/typing.py +352 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/versioning.py +176 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/__init__.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/_html4.py +858 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/html.py +45 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/html5.py +824 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/latex.py +2116 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/manpage.py +459 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/texinfo.py +1562 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/text.py +1182 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/xml.py +49 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/applehelp/__init__.py +276 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/devhelp/__init__.py +143 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/htmlhelp/__init__.py +340 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/jsmath/__init__.py +92 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/jsmath/version.py +11 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/qthelp/__init__.py +266 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/serializinghtml/__init__.py +180 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/serializinghtml/jsonimpl.py +33 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/__init__.py +211 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/_base_connection.py +172 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/_collections.py +483 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/_request_methods.py +278 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/_version.py +16 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/connection.py +1033 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/connectionpool.py +1182 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/emscripten/__init__.py +16 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/emscripten/connection.py +254 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/emscripten/fetch.py +418 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/emscripten/request.py +22 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/emscripten/response.py +285 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/pyopenssl.py +552 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/socks.py +228 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/exceptions.py +321 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/fields.py +341 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/filepost.py +89 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/http2/__init__.py +53 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/http2/connection.py +356 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/http2/probe.py +87 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/poolmanager.py +637 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/response.py +1265 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/__init__.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/connection.py +137 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/proxy.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/request.py +256 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/response.py +101 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/retry.py +533 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/ssl_.py +513 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/ssl_match_hostname.py +159 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/ssltransport.py +276 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/timeout.py +275 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/url.py +471 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/util.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/wait.py +124 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/__init__.py +3 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/__main__.py +23 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/_bdist_wheel.py +604 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/_setuptools_logging.py +26 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/bdist_wheel.py +11 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/cli/__init__.py +155 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/cli/convert.py +273 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/cli/pack.py +85 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/cli/tags.py +139 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/cli/unpack.py +30 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/macosx_libfile.py +482 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/metadata.py +183 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/util.py +26 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/_elffile.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/_manylinux.py +260 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/_musllinux.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/_parser.py +356 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/_structures.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/_tokenizer.py +192 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/markers.py +253 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/requirements.py +90 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/specifiers.py +1011 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/tags.py +571 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/utils.py +172 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/version.py +561 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/wheelfile.py +227 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/__init__.py +390 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/composer.py +139 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/constructor.py +748 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/cyaml.py +101 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/dumper.py +62 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/emitter.py +1137 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/error.py +75 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/events.py +86 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/loader.py +63 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/nodes.py +49 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/parser.py +589 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/reader.py +185 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/representer.py +389 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/resolver.py +227 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/scanner.py +1435 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/serializer.py +111 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/tokens.py +104 -0
- py2docfx/venv/venv0/Scripts/rst2html.py +23 -0
- py2docfx/venv/venv0/Scripts/rst2html4.py +26 -0
- py2docfx/venv/venv0/Scripts/rst2html5.py +33 -0
- py2docfx/venv/venv0/Scripts/rst2latex.py +26 -0
- py2docfx/venv/venv0/Scripts/rst2man.py +27 -0
- py2docfx/venv/venv0/Scripts/rst2odt.py +28 -0
- py2docfx/venv/venv0/Scripts/rst2odt_prepstyles.py +65 -0
- py2docfx/venv/venv0/Scripts/rst2pseudoxml.py +23 -0
- py2docfx/venv/venv0/Scripts/rst2s5.py +24 -0
- py2docfx/venv/venv0/Scripts/rst2xetex.py +27 -0
- py2docfx/venv/venv0/Scripts/rst2xml.py +23 -0
- py2docfx/venv/venv0/Scripts/rstpep2html.py +25 -0
- {py2docfx-0.1.10.dev1859594.dist-info → py2docfx-0.1.10.dev1870645.dist-info}/METADATA +1 -1
- py2docfx-0.1.10.dev1870645.dist-info/RECORD +1888 -0
- py2docfx-0.1.10.dev1859594.dist-info/RECORD +0 -129
- {py2docfx-0.1.10.dev1859594.dist-info → py2docfx-0.1.10.dev1870645.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.10.dev1859594.dist-info → py2docfx-0.1.10.dev1870645.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1265 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
|
3
|
+
import collections
|
4
|
+
import io
|
5
|
+
import json as _json
|
6
|
+
import logging
|
7
|
+
import re
|
8
|
+
import sys
|
9
|
+
import typing
|
10
|
+
import warnings
|
11
|
+
import zlib
|
12
|
+
from contextlib import contextmanager
|
13
|
+
from http.client import HTTPMessage as _HttplibHTTPMessage
|
14
|
+
from http.client import HTTPResponse as _HttplibHTTPResponse
|
15
|
+
from socket import timeout as SocketTimeout
|
16
|
+
|
17
|
+
if typing.TYPE_CHECKING:
|
18
|
+
from ._base_connection import BaseHTTPConnection
|
19
|
+
|
20
|
+
try:
|
21
|
+
try:
|
22
|
+
import brotlicffi as brotli # type: ignore[import-not-found]
|
23
|
+
except ImportError:
|
24
|
+
import brotli # type: ignore[import-not-found]
|
25
|
+
except ImportError:
|
26
|
+
brotli = None
|
27
|
+
|
28
|
+
try:
|
29
|
+
import zstandard as zstd
|
30
|
+
except (AttributeError, ImportError, ValueError): # Defensive:
|
31
|
+
HAS_ZSTD = False
|
32
|
+
else:
|
33
|
+
# The package 'zstandard' added the 'eof' property starting
|
34
|
+
# in v0.18.0 which we require to ensure a complete and
|
35
|
+
# valid zstd stream was fed into the ZstdDecoder.
|
36
|
+
# See: https://github.com/urllib3/urllib3/pull/2624
|
37
|
+
_zstd_version = tuple(
|
38
|
+
map(int, re.search(r"^([0-9]+)\.([0-9]+)", zstd.__version__).groups()) # type: ignore[union-attr]
|
39
|
+
)
|
40
|
+
if _zstd_version < (0, 18): # Defensive:
|
41
|
+
HAS_ZSTD = False
|
42
|
+
else:
|
43
|
+
HAS_ZSTD = True
|
44
|
+
|
45
|
+
from . import util
|
46
|
+
from ._base_connection import _TYPE_BODY
|
47
|
+
from ._collections import HTTPHeaderDict
|
48
|
+
from .connection import BaseSSLError, HTTPConnection, HTTPException
|
49
|
+
from .exceptions import (
|
50
|
+
BodyNotHttplibCompatible,
|
51
|
+
DecodeError,
|
52
|
+
HTTPError,
|
53
|
+
IncompleteRead,
|
54
|
+
InvalidChunkLength,
|
55
|
+
InvalidHeader,
|
56
|
+
ProtocolError,
|
57
|
+
ReadTimeoutError,
|
58
|
+
ResponseNotChunked,
|
59
|
+
SSLError,
|
60
|
+
)
|
61
|
+
from .util.response import is_fp_closed, is_response_to_head
|
62
|
+
from .util.retry import Retry
|
63
|
+
|
64
|
+
if typing.TYPE_CHECKING:
|
65
|
+
from .connectionpool import HTTPConnectionPool
|
66
|
+
|
67
|
+
log = logging.getLogger(__name__)
|
68
|
+
|
69
|
+
|
70
|
+
class ContentDecoder:
|
71
|
+
def decompress(self, data: bytes) -> bytes:
|
72
|
+
raise NotImplementedError()
|
73
|
+
|
74
|
+
def flush(self) -> bytes:
|
75
|
+
raise NotImplementedError()
|
76
|
+
|
77
|
+
|
78
|
+
class DeflateDecoder(ContentDecoder):
|
79
|
+
def __init__(self) -> None:
|
80
|
+
self._first_try = True
|
81
|
+
self._data = b""
|
82
|
+
self._obj = zlib.decompressobj()
|
83
|
+
|
84
|
+
def decompress(self, data: bytes) -> bytes:
|
85
|
+
if not data:
|
86
|
+
return data
|
87
|
+
|
88
|
+
if not self._first_try:
|
89
|
+
return self._obj.decompress(data)
|
90
|
+
|
91
|
+
self._data += data
|
92
|
+
try:
|
93
|
+
decompressed = self._obj.decompress(data)
|
94
|
+
if decompressed:
|
95
|
+
self._first_try = False
|
96
|
+
self._data = None # type: ignore[assignment]
|
97
|
+
return decompressed
|
98
|
+
except zlib.error:
|
99
|
+
self._first_try = False
|
100
|
+
self._obj = zlib.decompressobj(-zlib.MAX_WBITS)
|
101
|
+
try:
|
102
|
+
return self.decompress(self._data)
|
103
|
+
finally:
|
104
|
+
self._data = None # type: ignore[assignment]
|
105
|
+
|
106
|
+
def flush(self) -> bytes:
|
107
|
+
return self._obj.flush()
|
108
|
+
|
109
|
+
|
110
|
+
class GzipDecoderState:
|
111
|
+
FIRST_MEMBER = 0
|
112
|
+
OTHER_MEMBERS = 1
|
113
|
+
SWALLOW_DATA = 2
|
114
|
+
|
115
|
+
|
116
|
+
class GzipDecoder(ContentDecoder):
|
117
|
+
def __init__(self) -> None:
|
118
|
+
self._obj = zlib.decompressobj(16 + zlib.MAX_WBITS)
|
119
|
+
self._state = GzipDecoderState.FIRST_MEMBER
|
120
|
+
|
121
|
+
def decompress(self, data: bytes) -> bytes:
|
122
|
+
ret = bytearray()
|
123
|
+
if self._state == GzipDecoderState.SWALLOW_DATA or not data:
|
124
|
+
return bytes(ret)
|
125
|
+
while True:
|
126
|
+
try:
|
127
|
+
ret += self._obj.decompress(data)
|
128
|
+
except zlib.error:
|
129
|
+
previous_state = self._state
|
130
|
+
# Ignore data after the first error
|
131
|
+
self._state = GzipDecoderState.SWALLOW_DATA
|
132
|
+
if previous_state == GzipDecoderState.OTHER_MEMBERS:
|
133
|
+
# Allow trailing garbage acceptable in other gzip clients
|
134
|
+
return bytes(ret)
|
135
|
+
raise
|
136
|
+
data = self._obj.unused_data
|
137
|
+
if not data:
|
138
|
+
return bytes(ret)
|
139
|
+
self._state = GzipDecoderState.OTHER_MEMBERS
|
140
|
+
self._obj = zlib.decompressobj(16 + zlib.MAX_WBITS)
|
141
|
+
|
142
|
+
def flush(self) -> bytes:
|
143
|
+
return self._obj.flush()
|
144
|
+
|
145
|
+
|
146
|
+
if brotli is not None:
|
147
|
+
|
148
|
+
class BrotliDecoder(ContentDecoder):
|
149
|
+
# Supports both 'brotlipy' and 'Brotli' packages
|
150
|
+
# since they share an import name. The top branches
|
151
|
+
# are for 'brotlipy' and bottom branches for 'Brotli'
|
152
|
+
def __init__(self) -> None:
|
153
|
+
self._obj = brotli.Decompressor()
|
154
|
+
if hasattr(self._obj, "decompress"):
|
155
|
+
setattr(self, "decompress", self._obj.decompress)
|
156
|
+
else:
|
157
|
+
setattr(self, "decompress", self._obj.process)
|
158
|
+
|
159
|
+
def flush(self) -> bytes:
|
160
|
+
if hasattr(self._obj, "flush"):
|
161
|
+
return self._obj.flush() # type: ignore[no-any-return]
|
162
|
+
return b""
|
163
|
+
|
164
|
+
|
165
|
+
if HAS_ZSTD:
|
166
|
+
|
167
|
+
class ZstdDecoder(ContentDecoder):
|
168
|
+
def __init__(self) -> None:
|
169
|
+
self._obj = zstd.ZstdDecompressor().decompressobj()
|
170
|
+
|
171
|
+
def decompress(self, data: bytes) -> bytes:
|
172
|
+
if not data:
|
173
|
+
return b""
|
174
|
+
data_parts = [self._obj.decompress(data)]
|
175
|
+
while self._obj.eof and self._obj.unused_data:
|
176
|
+
unused_data = self._obj.unused_data
|
177
|
+
self._obj = zstd.ZstdDecompressor().decompressobj()
|
178
|
+
data_parts.append(self._obj.decompress(unused_data))
|
179
|
+
return b"".join(data_parts)
|
180
|
+
|
181
|
+
def flush(self) -> bytes:
|
182
|
+
ret = self._obj.flush() # note: this is a no-op
|
183
|
+
if not self._obj.eof:
|
184
|
+
raise DecodeError("Zstandard data is incomplete")
|
185
|
+
return ret
|
186
|
+
|
187
|
+
|
188
|
+
class MultiDecoder(ContentDecoder):
|
189
|
+
"""
|
190
|
+
From RFC7231:
|
191
|
+
If one or more encodings have been applied to a representation, the
|
192
|
+
sender that applied the encodings MUST generate a Content-Encoding
|
193
|
+
header field that lists the content codings in the order in which
|
194
|
+
they were applied.
|
195
|
+
"""
|
196
|
+
|
197
|
+
def __init__(self, modes: str) -> None:
|
198
|
+
self._decoders = [_get_decoder(m.strip()) for m in modes.split(",")]
|
199
|
+
|
200
|
+
def flush(self) -> bytes:
|
201
|
+
return self._decoders[0].flush()
|
202
|
+
|
203
|
+
def decompress(self, data: bytes) -> bytes:
|
204
|
+
for d in reversed(self._decoders):
|
205
|
+
data = d.decompress(data)
|
206
|
+
return data
|
207
|
+
|
208
|
+
|
209
|
+
def _get_decoder(mode: str) -> ContentDecoder:
|
210
|
+
if "," in mode:
|
211
|
+
return MultiDecoder(mode)
|
212
|
+
|
213
|
+
# According to RFC 9110 section 8.4.1.3, recipients should
|
214
|
+
# consider x-gzip equivalent to gzip
|
215
|
+
if mode in ("gzip", "x-gzip"):
|
216
|
+
return GzipDecoder()
|
217
|
+
|
218
|
+
if brotli is not None and mode == "br":
|
219
|
+
return BrotliDecoder()
|
220
|
+
|
221
|
+
if HAS_ZSTD and mode == "zstd":
|
222
|
+
return ZstdDecoder()
|
223
|
+
|
224
|
+
return DeflateDecoder()
|
225
|
+
|
226
|
+
|
227
|
+
class BytesQueueBuffer:
|
228
|
+
"""Memory-efficient bytes buffer
|
229
|
+
|
230
|
+
To return decoded data in read() and still follow the BufferedIOBase API, we need a
|
231
|
+
buffer to always return the correct amount of bytes.
|
232
|
+
|
233
|
+
This buffer should be filled using calls to put()
|
234
|
+
|
235
|
+
Our maximum memory usage is determined by the sum of the size of:
|
236
|
+
|
237
|
+
* self.buffer, which contains the full data
|
238
|
+
* the largest chunk that we will copy in get()
|
239
|
+
|
240
|
+
The worst case scenario is a single chunk, in which case we'll make a full copy of
|
241
|
+
the data inside get().
|
242
|
+
"""
|
243
|
+
|
244
|
+
def __init__(self) -> None:
|
245
|
+
self.buffer: typing.Deque[bytes] = collections.deque()
|
246
|
+
self._size: int = 0
|
247
|
+
|
248
|
+
def __len__(self) -> int:
|
249
|
+
return self._size
|
250
|
+
|
251
|
+
def put(self, data: bytes) -> None:
|
252
|
+
self.buffer.append(data)
|
253
|
+
self._size += len(data)
|
254
|
+
|
255
|
+
def get(self, n: int) -> bytes:
|
256
|
+
if n == 0:
|
257
|
+
return b""
|
258
|
+
elif not self.buffer:
|
259
|
+
raise RuntimeError("buffer is empty")
|
260
|
+
elif n < 0:
|
261
|
+
raise ValueError("n should be > 0")
|
262
|
+
|
263
|
+
fetched = 0
|
264
|
+
ret = io.BytesIO()
|
265
|
+
while fetched < n:
|
266
|
+
remaining = n - fetched
|
267
|
+
chunk = self.buffer.popleft()
|
268
|
+
chunk_length = len(chunk)
|
269
|
+
if remaining < chunk_length:
|
270
|
+
left_chunk, right_chunk = chunk[:remaining], chunk[remaining:]
|
271
|
+
ret.write(left_chunk)
|
272
|
+
self.buffer.appendleft(right_chunk)
|
273
|
+
self._size -= remaining
|
274
|
+
break
|
275
|
+
else:
|
276
|
+
ret.write(chunk)
|
277
|
+
self._size -= chunk_length
|
278
|
+
fetched += chunk_length
|
279
|
+
|
280
|
+
if not self.buffer:
|
281
|
+
break
|
282
|
+
|
283
|
+
return ret.getvalue()
|
284
|
+
|
285
|
+
def get_all(self) -> bytes:
|
286
|
+
buffer = self.buffer
|
287
|
+
if not buffer:
|
288
|
+
assert self._size == 0
|
289
|
+
return b""
|
290
|
+
if len(buffer) == 1:
|
291
|
+
result = buffer.pop()
|
292
|
+
else:
|
293
|
+
ret = io.BytesIO()
|
294
|
+
ret.writelines(buffer.popleft() for _ in range(len(buffer)))
|
295
|
+
result = ret.getvalue()
|
296
|
+
self._size = 0
|
297
|
+
return result
|
298
|
+
|
299
|
+
|
300
|
+
class BaseHTTPResponse(io.IOBase):
|
301
|
+
CONTENT_DECODERS = ["gzip", "x-gzip", "deflate"]
|
302
|
+
if brotli is not None:
|
303
|
+
CONTENT_DECODERS += ["br"]
|
304
|
+
if HAS_ZSTD:
|
305
|
+
CONTENT_DECODERS += ["zstd"]
|
306
|
+
REDIRECT_STATUSES = [301, 302, 303, 307, 308]
|
307
|
+
|
308
|
+
DECODER_ERROR_CLASSES: tuple[type[Exception], ...] = (IOError, zlib.error)
|
309
|
+
if brotli is not None:
|
310
|
+
DECODER_ERROR_CLASSES += (brotli.error,)
|
311
|
+
|
312
|
+
if HAS_ZSTD:
|
313
|
+
DECODER_ERROR_CLASSES += (zstd.ZstdError,)
|
314
|
+
|
315
|
+
def __init__(
|
316
|
+
self,
|
317
|
+
*,
|
318
|
+
headers: typing.Mapping[str, str] | typing.Mapping[bytes, bytes] | None = None,
|
319
|
+
status: int,
|
320
|
+
version: int,
|
321
|
+
version_string: str,
|
322
|
+
reason: str | None,
|
323
|
+
decode_content: bool,
|
324
|
+
request_url: str | None,
|
325
|
+
retries: Retry | None = None,
|
326
|
+
) -> None:
|
327
|
+
if isinstance(headers, HTTPHeaderDict):
|
328
|
+
self.headers = headers
|
329
|
+
else:
|
330
|
+
self.headers = HTTPHeaderDict(headers) # type: ignore[arg-type]
|
331
|
+
self.status = status
|
332
|
+
self.version = version
|
333
|
+
self.version_string = version_string
|
334
|
+
self.reason = reason
|
335
|
+
self.decode_content = decode_content
|
336
|
+
self._has_decoded_content = False
|
337
|
+
self._request_url: str | None = request_url
|
338
|
+
self.retries = retries
|
339
|
+
|
340
|
+
self.chunked = False
|
341
|
+
tr_enc = self.headers.get("transfer-encoding", "").lower()
|
342
|
+
# Don't incur the penalty of creating a list and then discarding it
|
343
|
+
encodings = (enc.strip() for enc in tr_enc.split(","))
|
344
|
+
if "chunked" in encodings:
|
345
|
+
self.chunked = True
|
346
|
+
|
347
|
+
self._decoder: ContentDecoder | None = None
|
348
|
+
self.length_remaining: int | None
|
349
|
+
|
350
|
+
def get_redirect_location(self) -> str | None | typing.Literal[False]:
|
351
|
+
"""
|
352
|
+
Should we redirect and where to?
|
353
|
+
|
354
|
+
:returns: Truthy redirect location string if we got a redirect status
|
355
|
+
code and valid location. ``None`` if redirect status and no
|
356
|
+
location. ``False`` if not a redirect status code.
|
357
|
+
"""
|
358
|
+
if self.status in self.REDIRECT_STATUSES:
|
359
|
+
return self.headers.get("location")
|
360
|
+
return False
|
361
|
+
|
362
|
+
@property
|
363
|
+
def data(self) -> bytes:
|
364
|
+
raise NotImplementedError()
|
365
|
+
|
366
|
+
def json(self) -> typing.Any:
|
367
|
+
"""
|
368
|
+
Deserializes the body of the HTTP response as a Python object.
|
369
|
+
|
370
|
+
The body of the HTTP response must be encoded using UTF-8, as per
|
371
|
+
`RFC 8529 Section 8.1 <https://www.rfc-editor.org/rfc/rfc8259#section-8.1>`_.
|
372
|
+
|
373
|
+
To use a custom JSON decoder pass the result of :attr:`HTTPResponse.data` to
|
374
|
+
your custom decoder instead.
|
375
|
+
|
376
|
+
If the body of the HTTP response is not decodable to UTF-8, a
|
377
|
+
`UnicodeDecodeError` will be raised. If the body of the HTTP response is not a
|
378
|
+
valid JSON document, a `json.JSONDecodeError` will be raised.
|
379
|
+
|
380
|
+
Read more :ref:`here <json_content>`.
|
381
|
+
|
382
|
+
:returns: The body of the HTTP response as a Python object.
|
383
|
+
"""
|
384
|
+
data = self.data.decode("utf-8")
|
385
|
+
return _json.loads(data)
|
386
|
+
|
387
|
+
@property
|
388
|
+
def url(self) -> str | None:
|
389
|
+
raise NotImplementedError()
|
390
|
+
|
391
|
+
@url.setter
|
392
|
+
def url(self, url: str | None) -> None:
|
393
|
+
raise NotImplementedError()
|
394
|
+
|
395
|
+
@property
|
396
|
+
def connection(self) -> BaseHTTPConnection | None:
|
397
|
+
raise NotImplementedError()
|
398
|
+
|
399
|
+
@property
|
400
|
+
def retries(self) -> Retry | None:
|
401
|
+
return self._retries
|
402
|
+
|
403
|
+
@retries.setter
|
404
|
+
def retries(self, retries: Retry | None) -> None:
|
405
|
+
# Override the request_url if retries has a redirect location.
|
406
|
+
if retries is not None and retries.history:
|
407
|
+
self.url = retries.history[-1].redirect_location
|
408
|
+
self._retries = retries
|
409
|
+
|
410
|
+
def stream(
|
411
|
+
self, amt: int | None = 2**16, decode_content: bool | None = None
|
412
|
+
) -> typing.Iterator[bytes]:
|
413
|
+
raise NotImplementedError()
|
414
|
+
|
415
|
+
def read(
|
416
|
+
self,
|
417
|
+
amt: int | None = None,
|
418
|
+
decode_content: bool | None = None,
|
419
|
+
cache_content: bool = False,
|
420
|
+
) -> bytes:
|
421
|
+
raise NotImplementedError()
|
422
|
+
|
423
|
+
def read1(
|
424
|
+
self,
|
425
|
+
amt: int | None = None,
|
426
|
+
decode_content: bool | None = None,
|
427
|
+
) -> bytes:
|
428
|
+
raise NotImplementedError()
|
429
|
+
|
430
|
+
def read_chunked(
|
431
|
+
self,
|
432
|
+
amt: int | None = None,
|
433
|
+
decode_content: bool | None = None,
|
434
|
+
) -> typing.Iterator[bytes]:
|
435
|
+
raise NotImplementedError()
|
436
|
+
|
437
|
+
def release_conn(self) -> None:
|
438
|
+
raise NotImplementedError()
|
439
|
+
|
440
|
+
def drain_conn(self) -> None:
|
441
|
+
raise NotImplementedError()
|
442
|
+
|
443
|
+
def close(self) -> None:
|
444
|
+
raise NotImplementedError()
|
445
|
+
|
446
|
+
def _init_decoder(self) -> None:
|
447
|
+
"""
|
448
|
+
Set-up the _decoder attribute if necessary.
|
449
|
+
"""
|
450
|
+
# Note: content-encoding value should be case-insensitive, per RFC 7230
|
451
|
+
# Section 3.2
|
452
|
+
content_encoding = self.headers.get("content-encoding", "").lower()
|
453
|
+
if self._decoder is None:
|
454
|
+
if content_encoding in self.CONTENT_DECODERS:
|
455
|
+
self._decoder = _get_decoder(content_encoding)
|
456
|
+
elif "," in content_encoding:
|
457
|
+
encodings = [
|
458
|
+
e.strip()
|
459
|
+
for e in content_encoding.split(",")
|
460
|
+
if e.strip() in self.CONTENT_DECODERS
|
461
|
+
]
|
462
|
+
if encodings:
|
463
|
+
self._decoder = _get_decoder(content_encoding)
|
464
|
+
|
465
|
+
def _decode(
|
466
|
+
self, data: bytes, decode_content: bool | None, flush_decoder: bool
|
467
|
+
) -> bytes:
|
468
|
+
"""
|
469
|
+
Decode the data passed in and potentially flush the decoder.
|
470
|
+
"""
|
471
|
+
if not decode_content:
|
472
|
+
if self._has_decoded_content:
|
473
|
+
raise RuntimeError(
|
474
|
+
"Calling read(decode_content=False) is not supported after "
|
475
|
+
"read(decode_content=True) was called."
|
476
|
+
)
|
477
|
+
return data
|
478
|
+
|
479
|
+
try:
|
480
|
+
if self._decoder:
|
481
|
+
data = self._decoder.decompress(data)
|
482
|
+
self._has_decoded_content = True
|
483
|
+
except self.DECODER_ERROR_CLASSES as e:
|
484
|
+
content_encoding = self.headers.get("content-encoding", "").lower()
|
485
|
+
raise DecodeError(
|
486
|
+
"Received response with content-encoding: %s, but "
|
487
|
+
"failed to decode it." % content_encoding,
|
488
|
+
e,
|
489
|
+
) from e
|
490
|
+
if flush_decoder:
|
491
|
+
data += self._flush_decoder()
|
492
|
+
|
493
|
+
return data
|
494
|
+
|
495
|
+
def _flush_decoder(self) -> bytes:
|
496
|
+
"""
|
497
|
+
Flushes the decoder. Should only be called if the decoder is actually
|
498
|
+
being used.
|
499
|
+
"""
|
500
|
+
if self._decoder:
|
501
|
+
return self._decoder.decompress(b"") + self._decoder.flush()
|
502
|
+
return b""
|
503
|
+
|
504
|
+
# Compatibility methods for `io` module
|
505
|
+
def readinto(self, b: bytearray) -> int:
|
506
|
+
temp = self.read(len(b))
|
507
|
+
if len(temp) == 0:
|
508
|
+
return 0
|
509
|
+
else:
|
510
|
+
b[: len(temp)] = temp
|
511
|
+
return len(temp)
|
512
|
+
|
513
|
+
# Compatibility methods for http.client.HTTPResponse
|
514
|
+
def getheaders(self) -> HTTPHeaderDict:
|
515
|
+
warnings.warn(
|
516
|
+
"HTTPResponse.getheaders() is deprecated and will be removed "
|
517
|
+
"in urllib3 v2.1.0. Instead access HTTPResponse.headers directly.",
|
518
|
+
category=DeprecationWarning,
|
519
|
+
stacklevel=2,
|
520
|
+
)
|
521
|
+
return self.headers
|
522
|
+
|
523
|
+
def getheader(self, name: str, default: str | None = None) -> str | None:
|
524
|
+
warnings.warn(
|
525
|
+
"HTTPResponse.getheader() is deprecated and will be removed "
|
526
|
+
"in urllib3 v2.1.0. Instead use HTTPResponse.headers.get(name, default).",
|
527
|
+
category=DeprecationWarning,
|
528
|
+
stacklevel=2,
|
529
|
+
)
|
530
|
+
return self.headers.get(name, default)
|
531
|
+
|
532
|
+
# Compatibility method for http.cookiejar
|
533
|
+
def info(self) -> HTTPHeaderDict:
|
534
|
+
return self.headers
|
535
|
+
|
536
|
+
def geturl(self) -> str | None:
|
537
|
+
return self.url
|
538
|
+
|
539
|
+
|
540
|
+
class HTTPResponse(BaseHTTPResponse):
|
541
|
+
"""
|
542
|
+
HTTP Response container.
|
543
|
+
|
544
|
+
Backwards-compatible with :class:`http.client.HTTPResponse` but the response ``body`` is
|
545
|
+
loaded and decoded on-demand when the ``data`` property is accessed. This
|
546
|
+
class is also compatible with the Python standard library's :mod:`io`
|
547
|
+
module, and can hence be treated as a readable object in the context of that
|
548
|
+
framework.
|
549
|
+
|
550
|
+
Extra parameters for behaviour not present in :class:`http.client.HTTPResponse`:
|
551
|
+
|
552
|
+
:param preload_content:
|
553
|
+
If True, the response's body will be preloaded during construction.
|
554
|
+
|
555
|
+
:param decode_content:
|
556
|
+
If True, will attempt to decode the body based on the
|
557
|
+
'content-encoding' header.
|
558
|
+
|
559
|
+
:param original_response:
|
560
|
+
When this HTTPResponse wrapper is generated from an :class:`http.client.HTTPResponse`
|
561
|
+
object, it's convenient to include the original for debug purposes. It's
|
562
|
+
otherwise unused.
|
563
|
+
|
564
|
+
:param retries:
|
565
|
+
The retries contains the last :class:`~urllib3.util.retry.Retry` that
|
566
|
+
was used during the request.
|
567
|
+
|
568
|
+
:param enforce_content_length:
|
569
|
+
Enforce content length checking. Body returned by server must match
|
570
|
+
value of Content-Length header, if present. Otherwise, raise error.
|
571
|
+
"""
|
572
|
+
|
573
|
+
def __init__(
|
574
|
+
self,
|
575
|
+
body: _TYPE_BODY = "",
|
576
|
+
headers: typing.Mapping[str, str] | typing.Mapping[bytes, bytes] | None = None,
|
577
|
+
status: int = 0,
|
578
|
+
version: int = 0,
|
579
|
+
version_string: str = "HTTP/?",
|
580
|
+
reason: str | None = None,
|
581
|
+
preload_content: bool = True,
|
582
|
+
decode_content: bool = True,
|
583
|
+
original_response: _HttplibHTTPResponse | None = None,
|
584
|
+
pool: HTTPConnectionPool | None = None,
|
585
|
+
connection: HTTPConnection | None = None,
|
586
|
+
msg: _HttplibHTTPMessage | None = None,
|
587
|
+
retries: Retry | None = None,
|
588
|
+
enforce_content_length: bool = True,
|
589
|
+
request_method: str | None = None,
|
590
|
+
request_url: str | None = None,
|
591
|
+
auto_close: bool = True,
|
592
|
+
) -> None:
|
593
|
+
super().__init__(
|
594
|
+
headers=headers,
|
595
|
+
status=status,
|
596
|
+
version=version,
|
597
|
+
version_string=version_string,
|
598
|
+
reason=reason,
|
599
|
+
decode_content=decode_content,
|
600
|
+
request_url=request_url,
|
601
|
+
retries=retries,
|
602
|
+
)
|
603
|
+
|
604
|
+
self.enforce_content_length = enforce_content_length
|
605
|
+
self.auto_close = auto_close
|
606
|
+
|
607
|
+
self._body = None
|
608
|
+
self._fp: _HttplibHTTPResponse | None = None
|
609
|
+
self._original_response = original_response
|
610
|
+
self._fp_bytes_read = 0
|
611
|
+
self.msg = msg
|
612
|
+
|
613
|
+
if body and isinstance(body, (str, bytes)):
|
614
|
+
self._body = body
|
615
|
+
|
616
|
+
self._pool = pool
|
617
|
+
self._connection = connection
|
618
|
+
|
619
|
+
if hasattr(body, "read"):
|
620
|
+
self._fp = body # type: ignore[assignment]
|
621
|
+
|
622
|
+
# Are we using the chunked-style of transfer encoding?
|
623
|
+
self.chunk_left: int | None = None
|
624
|
+
|
625
|
+
# Determine length of response
|
626
|
+
self.length_remaining = self._init_length(request_method)
|
627
|
+
|
628
|
+
# Used to return the correct amount of bytes for partial read()s
|
629
|
+
self._decoded_buffer = BytesQueueBuffer()
|
630
|
+
|
631
|
+
# If requested, preload the body.
|
632
|
+
if preload_content and not self._body:
|
633
|
+
self._body = self.read(decode_content=decode_content)
|
634
|
+
|
635
|
+
def release_conn(self) -> None:
|
636
|
+
if not self._pool or not self._connection:
|
637
|
+
return None
|
638
|
+
|
639
|
+
self._pool._put_conn(self._connection)
|
640
|
+
self._connection = None
|
641
|
+
|
642
|
+
def drain_conn(self) -> None:
|
643
|
+
"""
|
644
|
+
Read and discard any remaining HTTP response data in the response connection.
|
645
|
+
|
646
|
+
Unread data in the HTTPResponse connection blocks the connection from being released back to the pool.
|
647
|
+
"""
|
648
|
+
try:
|
649
|
+
self.read()
|
650
|
+
except (HTTPError, OSError, BaseSSLError, HTTPException):
|
651
|
+
pass
|
652
|
+
|
653
|
+
@property
|
654
|
+
def data(self) -> bytes:
|
655
|
+
# For backwards-compat with earlier urllib3 0.4 and earlier.
|
656
|
+
if self._body:
|
657
|
+
return self._body # type: ignore[return-value]
|
658
|
+
|
659
|
+
if self._fp:
|
660
|
+
return self.read(cache_content=True)
|
661
|
+
|
662
|
+
return None # type: ignore[return-value]
|
663
|
+
|
664
|
+
@property
|
665
|
+
def connection(self) -> HTTPConnection | None:
|
666
|
+
return self._connection
|
667
|
+
|
668
|
+
def isclosed(self) -> bool:
|
669
|
+
return is_fp_closed(self._fp)
|
670
|
+
|
671
|
+
def tell(self) -> int:
|
672
|
+
"""
|
673
|
+
Obtain the number of bytes pulled over the wire so far. May differ from
|
674
|
+
the amount of content returned by :meth:``urllib3.response.HTTPResponse.read``
|
675
|
+
if bytes are encoded on the wire (e.g, compressed).
|
676
|
+
"""
|
677
|
+
return self._fp_bytes_read
|
678
|
+
|
679
|
+
def _init_length(self, request_method: str | None) -> int | None:
|
680
|
+
"""
|
681
|
+
Set initial length value for Response content if available.
|
682
|
+
"""
|
683
|
+
length: int | None
|
684
|
+
content_length: str | None = self.headers.get("content-length")
|
685
|
+
|
686
|
+
if content_length is not None:
|
687
|
+
if self.chunked:
|
688
|
+
# This Response will fail with an IncompleteRead if it can't be
|
689
|
+
# received as chunked. This method falls back to attempt reading
|
690
|
+
# the response before raising an exception.
|
691
|
+
log.warning(
|
692
|
+
"Received response with both Content-Length and "
|
693
|
+
"Transfer-Encoding set. This is expressly forbidden "
|
694
|
+
"by RFC 7230 sec 3.3.2. Ignoring Content-Length and "
|
695
|
+
"attempting to process response as Transfer-Encoding: "
|
696
|
+
"chunked."
|
697
|
+
)
|
698
|
+
return None
|
699
|
+
|
700
|
+
try:
|
701
|
+
# RFC 7230 section 3.3.2 specifies multiple content lengths can
|
702
|
+
# be sent in a single Content-Length header
|
703
|
+
# (e.g. Content-Length: 42, 42). This line ensures the values
|
704
|
+
# are all valid ints and that as long as the `set` length is 1,
|
705
|
+
# all values are the same. Otherwise, the header is invalid.
|
706
|
+
lengths = {int(val) for val in content_length.split(",")}
|
707
|
+
if len(lengths) > 1:
|
708
|
+
raise InvalidHeader(
|
709
|
+
"Content-Length contained multiple "
|
710
|
+
"unmatching values (%s)" % content_length
|
711
|
+
)
|
712
|
+
length = lengths.pop()
|
713
|
+
except ValueError:
|
714
|
+
length = None
|
715
|
+
else:
|
716
|
+
if length < 0:
|
717
|
+
length = None
|
718
|
+
|
719
|
+
else: # if content_length is None
|
720
|
+
length = None
|
721
|
+
|
722
|
+
# Convert status to int for comparison
|
723
|
+
# In some cases, httplib returns a status of "_UNKNOWN"
|
724
|
+
try:
|
725
|
+
status = int(self.status)
|
726
|
+
except ValueError:
|
727
|
+
status = 0
|
728
|
+
|
729
|
+
# Check for responses that shouldn't include a body
|
730
|
+
if status in (204, 304) or 100 <= status < 200 or request_method == "HEAD":
|
731
|
+
length = 0
|
732
|
+
|
733
|
+
return length
|
734
|
+
|
735
|
+
@contextmanager
|
736
|
+
def _error_catcher(self) -> typing.Generator[None, None, None]:
|
737
|
+
"""
|
738
|
+
Catch low-level python exceptions, instead re-raising urllib3
|
739
|
+
variants, so that low-level exceptions are not leaked in the
|
740
|
+
high-level api.
|
741
|
+
|
742
|
+
On exit, release the connection back to the pool.
|
743
|
+
"""
|
744
|
+
clean_exit = False
|
745
|
+
|
746
|
+
try:
|
747
|
+
try:
|
748
|
+
yield
|
749
|
+
|
750
|
+
except SocketTimeout as e:
|
751
|
+
# FIXME: Ideally we'd like to include the url in the ReadTimeoutError but
|
752
|
+
# there is yet no clean way to get at it from this context.
|
753
|
+
raise ReadTimeoutError(self._pool, None, "Read timed out.") from e # type: ignore[arg-type]
|
754
|
+
|
755
|
+
except BaseSSLError as e:
|
756
|
+
# FIXME: Is there a better way to differentiate between SSLErrors?
|
757
|
+
if "read operation timed out" not in str(e):
|
758
|
+
# SSL errors related to framing/MAC get wrapped and reraised here
|
759
|
+
raise SSLError(e) from e
|
760
|
+
|
761
|
+
raise ReadTimeoutError(self._pool, None, "Read timed out.") from e # type: ignore[arg-type]
|
762
|
+
|
763
|
+
except IncompleteRead as e:
|
764
|
+
if (
|
765
|
+
e.expected is not None
|
766
|
+
and e.partial is not None
|
767
|
+
and e.expected == -e.partial
|
768
|
+
):
|
769
|
+
arg = "Response may not contain content."
|
770
|
+
else:
|
771
|
+
arg = f"Connection broken: {e!r}"
|
772
|
+
raise ProtocolError(arg, e) from e
|
773
|
+
|
774
|
+
except (HTTPException, OSError) as e:
|
775
|
+
raise ProtocolError(f"Connection broken: {e!r}", e) from e
|
776
|
+
|
777
|
+
# If no exception is thrown, we should avoid cleaning up
|
778
|
+
# unnecessarily.
|
779
|
+
clean_exit = True
|
780
|
+
finally:
|
781
|
+
# If we didn't terminate cleanly, we need to throw away our
|
782
|
+
# connection.
|
783
|
+
if not clean_exit:
|
784
|
+
# The response may not be closed but we're not going to use it
|
785
|
+
# anymore so close it now to ensure that the connection is
|
786
|
+
# released back to the pool.
|
787
|
+
if self._original_response:
|
788
|
+
self._original_response.close()
|
789
|
+
|
790
|
+
# Closing the response may not actually be sufficient to close
|
791
|
+
# everything, so if we have a hold of the connection close that
|
792
|
+
# too.
|
793
|
+
if self._connection:
|
794
|
+
self._connection.close()
|
795
|
+
|
796
|
+
# If we hold the original response but it's closed now, we should
|
797
|
+
# return the connection back to the pool.
|
798
|
+
if self._original_response and self._original_response.isclosed():
|
799
|
+
self.release_conn()
|
800
|
+
|
801
|
+
def _fp_read(
|
802
|
+
self,
|
803
|
+
amt: int | None = None,
|
804
|
+
*,
|
805
|
+
read1: bool = False,
|
806
|
+
) -> bytes:
|
807
|
+
"""
|
808
|
+
Read a response with the thought that reading the number of bytes
|
809
|
+
larger than can fit in a 32-bit int at a time via SSL in some
|
810
|
+
known cases leads to an overflow error that has to be prevented
|
811
|
+
if `amt` or `self.length_remaining` indicate that a problem may
|
812
|
+
happen.
|
813
|
+
|
814
|
+
The known cases:
|
815
|
+
* 3.8 <= CPython < 3.9.7 because of a bug
|
816
|
+
https://github.com/urllib3/urllib3/issues/2513#issuecomment-1152559900.
|
817
|
+
* urllib3 injected with pyOpenSSL-backed SSL-support.
|
818
|
+
* CPython < 3.10 only when `amt` does not fit 32-bit int.
|
819
|
+
"""
|
820
|
+
assert self._fp
|
821
|
+
c_int_max = 2**31 - 1
|
822
|
+
if (
|
823
|
+
(amt and amt > c_int_max)
|
824
|
+
or (
|
825
|
+
amt is None
|
826
|
+
and self.length_remaining
|
827
|
+
and self.length_remaining > c_int_max
|
828
|
+
)
|
829
|
+
) and (util.IS_PYOPENSSL or sys.version_info < (3, 10)):
|
830
|
+
if read1:
|
831
|
+
return self._fp.read1(c_int_max)
|
832
|
+
buffer = io.BytesIO()
|
833
|
+
# Besides `max_chunk_amt` being a maximum chunk size, it
|
834
|
+
# affects memory overhead of reading a response by this
|
835
|
+
# method in CPython.
|
836
|
+
# `c_int_max` equal to 2 GiB - 1 byte is the actual maximum
|
837
|
+
# chunk size that does not lead to an overflow error, but
|
838
|
+
# 256 MiB is a compromise.
|
839
|
+
max_chunk_amt = 2**28
|
840
|
+
while amt is None or amt != 0:
|
841
|
+
if amt is not None:
|
842
|
+
chunk_amt = min(amt, max_chunk_amt)
|
843
|
+
amt -= chunk_amt
|
844
|
+
else:
|
845
|
+
chunk_amt = max_chunk_amt
|
846
|
+
data = self._fp.read(chunk_amt)
|
847
|
+
if not data:
|
848
|
+
break
|
849
|
+
buffer.write(data)
|
850
|
+
del data # to reduce peak memory usage by `max_chunk_amt`.
|
851
|
+
return buffer.getvalue()
|
852
|
+
elif read1:
|
853
|
+
return self._fp.read1(amt) if amt is not None else self._fp.read1()
|
854
|
+
else:
|
855
|
+
# StringIO doesn't like amt=None
|
856
|
+
return self._fp.read(amt) if amt is not None else self._fp.read()
|
857
|
+
|
858
|
+
def _raw_read(
|
859
|
+
self,
|
860
|
+
amt: int | None = None,
|
861
|
+
*,
|
862
|
+
read1: bool = False,
|
863
|
+
) -> bytes:
|
864
|
+
"""
|
865
|
+
Reads `amt` of bytes from the socket.
|
866
|
+
"""
|
867
|
+
if self._fp is None:
|
868
|
+
return None # type: ignore[return-value]
|
869
|
+
|
870
|
+
fp_closed = getattr(self._fp, "closed", False)
|
871
|
+
|
872
|
+
with self._error_catcher():
|
873
|
+
data = self._fp_read(amt, read1=read1) if not fp_closed else b""
|
874
|
+
if amt is not None and amt != 0 and not data:
|
875
|
+
# Platform-specific: Buggy versions of Python.
|
876
|
+
# Close the connection when no data is returned
|
877
|
+
#
|
878
|
+
# This is redundant to what httplib/http.client _should_
|
879
|
+
# already do. However, versions of python released before
|
880
|
+
# December 15, 2012 (http://bugs.python.org/issue16298) do
|
881
|
+
# not properly close the connection in all cases. There is
|
882
|
+
# no harm in redundantly calling close.
|
883
|
+
self._fp.close()
|
884
|
+
if (
|
885
|
+
self.enforce_content_length
|
886
|
+
and self.length_remaining is not None
|
887
|
+
and self.length_remaining != 0
|
888
|
+
):
|
889
|
+
# This is an edge case that httplib failed to cover due
|
890
|
+
# to concerns of backward compatibility. We're
|
891
|
+
# addressing it here to make sure IncompleteRead is
|
892
|
+
# raised during streaming, so all calls with incorrect
|
893
|
+
# Content-Length are caught.
|
894
|
+
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
|
895
|
+
elif read1 and (
|
896
|
+
(amt != 0 and not data) or self.length_remaining == len(data)
|
897
|
+
):
|
898
|
+
# All data has been read, but `self._fp.read1` in
|
899
|
+
# CPython 3.12 and older doesn't always close
|
900
|
+
# `http.client.HTTPResponse`, so we close it here.
|
901
|
+
# See https://github.com/python/cpython/issues/113199
|
902
|
+
self._fp.close()
|
903
|
+
|
904
|
+
if data:
|
905
|
+
self._fp_bytes_read += len(data)
|
906
|
+
if self.length_remaining is not None:
|
907
|
+
self.length_remaining -= len(data)
|
908
|
+
return data
|
909
|
+
|
910
|
+
def read(
|
911
|
+
self,
|
912
|
+
amt: int | None = None,
|
913
|
+
decode_content: bool | None = None,
|
914
|
+
cache_content: bool = False,
|
915
|
+
) -> bytes:
|
916
|
+
"""
|
917
|
+
Similar to :meth:`http.client.HTTPResponse.read`, but with two additional
|
918
|
+
parameters: ``decode_content`` and ``cache_content``.
|
919
|
+
|
920
|
+
:param amt:
|
921
|
+
How much of the content to read. If specified, caching is skipped
|
922
|
+
because it doesn't make sense to cache partial content as the full
|
923
|
+
response.
|
924
|
+
|
925
|
+
:param decode_content:
|
926
|
+
If True, will attempt to decode the body based on the
|
927
|
+
'content-encoding' header.
|
928
|
+
|
929
|
+
:param cache_content:
|
930
|
+
If True, will save the returned data such that the same result is
|
931
|
+
returned despite of the state of the underlying file object. This
|
932
|
+
is useful if you want the ``.data`` property to continue working
|
933
|
+
after having ``.read()`` the file object. (Overridden if ``amt`` is
|
934
|
+
set.)
|
935
|
+
"""
|
936
|
+
self._init_decoder()
|
937
|
+
if decode_content is None:
|
938
|
+
decode_content = self.decode_content
|
939
|
+
|
940
|
+
if amt and amt < 0:
|
941
|
+
# Negative numbers and `None` should be treated the same.
|
942
|
+
amt = None
|
943
|
+
elif amt is not None:
|
944
|
+
cache_content = False
|
945
|
+
|
946
|
+
if len(self._decoded_buffer) >= amt:
|
947
|
+
return self._decoded_buffer.get(amt)
|
948
|
+
|
949
|
+
data = self._raw_read(amt)
|
950
|
+
|
951
|
+
flush_decoder = amt is None or (amt != 0 and not data)
|
952
|
+
|
953
|
+
if not data and len(self._decoded_buffer) == 0:
|
954
|
+
return data
|
955
|
+
|
956
|
+
if amt is None:
|
957
|
+
data = self._decode(data, decode_content, flush_decoder)
|
958
|
+
if cache_content:
|
959
|
+
self._body = data
|
960
|
+
else:
|
961
|
+
# do not waste memory on buffer when not decoding
|
962
|
+
if not decode_content:
|
963
|
+
if self._has_decoded_content:
|
964
|
+
raise RuntimeError(
|
965
|
+
"Calling read(decode_content=False) is not supported after "
|
966
|
+
"read(decode_content=True) was called."
|
967
|
+
)
|
968
|
+
return data
|
969
|
+
|
970
|
+
decoded_data = self._decode(data, decode_content, flush_decoder)
|
971
|
+
self._decoded_buffer.put(decoded_data)
|
972
|
+
|
973
|
+
while len(self._decoded_buffer) < amt and data:
|
974
|
+
# TODO make sure to initially read enough data to get past the headers
|
975
|
+
# For example, the GZ file header takes 10 bytes, we don't want to read
|
976
|
+
# it one byte at a time
|
977
|
+
data = self._raw_read(amt)
|
978
|
+
decoded_data = self._decode(data, decode_content, flush_decoder)
|
979
|
+
self._decoded_buffer.put(decoded_data)
|
980
|
+
data = self._decoded_buffer.get(amt)
|
981
|
+
|
982
|
+
return data
|
983
|
+
|
984
|
+
def read1(
|
985
|
+
self,
|
986
|
+
amt: int | None = None,
|
987
|
+
decode_content: bool | None = None,
|
988
|
+
) -> bytes:
|
989
|
+
"""
|
990
|
+
Similar to ``http.client.HTTPResponse.read1`` and documented
|
991
|
+
in :meth:`io.BufferedReader.read1`, but with an additional parameter:
|
992
|
+
``decode_content``.
|
993
|
+
|
994
|
+
:param amt:
|
995
|
+
How much of the content to read.
|
996
|
+
|
997
|
+
:param decode_content:
|
998
|
+
If True, will attempt to decode the body based on the
|
999
|
+
'content-encoding' header.
|
1000
|
+
"""
|
1001
|
+
if decode_content is None:
|
1002
|
+
decode_content = self.decode_content
|
1003
|
+
if amt and amt < 0:
|
1004
|
+
# Negative numbers and `None` should be treated the same.
|
1005
|
+
amt = None
|
1006
|
+
# try and respond without going to the network
|
1007
|
+
if self._has_decoded_content:
|
1008
|
+
if not decode_content:
|
1009
|
+
raise RuntimeError(
|
1010
|
+
"Calling read1(decode_content=False) is not supported after "
|
1011
|
+
"read1(decode_content=True) was called."
|
1012
|
+
)
|
1013
|
+
if len(self._decoded_buffer) > 0:
|
1014
|
+
if amt is None:
|
1015
|
+
return self._decoded_buffer.get_all()
|
1016
|
+
return self._decoded_buffer.get(amt)
|
1017
|
+
if amt == 0:
|
1018
|
+
return b""
|
1019
|
+
|
1020
|
+
# FIXME, this method's type doesn't say returning None is possible
|
1021
|
+
data = self._raw_read(amt, read1=True)
|
1022
|
+
if not decode_content or data is None:
|
1023
|
+
return data
|
1024
|
+
|
1025
|
+
self._init_decoder()
|
1026
|
+
while True:
|
1027
|
+
flush_decoder = not data
|
1028
|
+
decoded_data = self._decode(data, decode_content, flush_decoder)
|
1029
|
+
self._decoded_buffer.put(decoded_data)
|
1030
|
+
if decoded_data or flush_decoder:
|
1031
|
+
break
|
1032
|
+
data = self._raw_read(8192, read1=True)
|
1033
|
+
|
1034
|
+
if amt is None:
|
1035
|
+
return self._decoded_buffer.get_all()
|
1036
|
+
return self._decoded_buffer.get(amt)
|
1037
|
+
|
1038
|
+
def stream(
|
1039
|
+
self, amt: int | None = 2**16, decode_content: bool | None = None
|
1040
|
+
) -> typing.Generator[bytes, None, None]:
|
1041
|
+
"""
|
1042
|
+
A generator wrapper for the read() method. A call will block until
|
1043
|
+
``amt`` bytes have been read from the connection or until the
|
1044
|
+
connection is closed.
|
1045
|
+
|
1046
|
+
:param amt:
|
1047
|
+
How much of the content to read. The generator will return up to
|
1048
|
+
much data per iteration, but may return less. This is particularly
|
1049
|
+
likely when using compressed data. However, the empty string will
|
1050
|
+
never be returned.
|
1051
|
+
|
1052
|
+
:param decode_content:
|
1053
|
+
If True, will attempt to decode the body based on the
|
1054
|
+
'content-encoding' header.
|
1055
|
+
"""
|
1056
|
+
if self.chunked and self.supports_chunked_reads():
|
1057
|
+
yield from self.read_chunked(amt, decode_content=decode_content)
|
1058
|
+
else:
|
1059
|
+
while not is_fp_closed(self._fp) or len(self._decoded_buffer) > 0:
|
1060
|
+
data = self.read(amt=amt, decode_content=decode_content)
|
1061
|
+
|
1062
|
+
if data:
|
1063
|
+
yield data
|
1064
|
+
|
1065
|
+
# Overrides from io.IOBase
|
1066
|
+
def readable(self) -> bool:
|
1067
|
+
return True
|
1068
|
+
|
1069
|
+
def close(self) -> None:
|
1070
|
+
if not self.closed and self._fp:
|
1071
|
+
self._fp.close()
|
1072
|
+
|
1073
|
+
if self._connection:
|
1074
|
+
self._connection.close()
|
1075
|
+
|
1076
|
+
if not self.auto_close:
|
1077
|
+
io.IOBase.close(self)
|
1078
|
+
|
1079
|
+
@property
|
1080
|
+
def closed(self) -> bool:
|
1081
|
+
if not self.auto_close:
|
1082
|
+
return io.IOBase.closed.__get__(self) # type: ignore[no-any-return]
|
1083
|
+
elif self._fp is None:
|
1084
|
+
return True
|
1085
|
+
elif hasattr(self._fp, "isclosed"):
|
1086
|
+
return self._fp.isclosed()
|
1087
|
+
elif hasattr(self._fp, "closed"):
|
1088
|
+
return self._fp.closed
|
1089
|
+
else:
|
1090
|
+
return True
|
1091
|
+
|
1092
|
+
def fileno(self) -> int:
|
1093
|
+
if self._fp is None:
|
1094
|
+
raise OSError("HTTPResponse has no file to get a fileno from")
|
1095
|
+
elif hasattr(self._fp, "fileno"):
|
1096
|
+
return self._fp.fileno()
|
1097
|
+
else:
|
1098
|
+
raise OSError(
|
1099
|
+
"The file-like object this HTTPResponse is wrapped "
|
1100
|
+
"around has no file descriptor"
|
1101
|
+
)
|
1102
|
+
|
1103
|
+
def flush(self) -> None:
|
1104
|
+
if (
|
1105
|
+
self._fp is not None
|
1106
|
+
and hasattr(self._fp, "flush")
|
1107
|
+
and not getattr(self._fp, "closed", False)
|
1108
|
+
):
|
1109
|
+
return self._fp.flush()
|
1110
|
+
|
1111
|
+
def supports_chunked_reads(self) -> bool:
|
1112
|
+
"""
|
1113
|
+
Checks if the underlying file-like object looks like a
|
1114
|
+
:class:`http.client.HTTPResponse` object. We do this by testing for
|
1115
|
+
the fp attribute. If it is present we assume it returns raw chunks as
|
1116
|
+
processed by read_chunked().
|
1117
|
+
"""
|
1118
|
+
return hasattr(self._fp, "fp")
|
1119
|
+
|
1120
|
+
def _update_chunk_length(self) -> None:
|
1121
|
+
# First, we'll figure out length of a chunk and then
|
1122
|
+
# we'll try to read it from socket.
|
1123
|
+
if self.chunk_left is not None:
|
1124
|
+
return None
|
1125
|
+
line = self._fp.fp.readline() # type: ignore[union-attr]
|
1126
|
+
line = line.split(b";", 1)[0]
|
1127
|
+
try:
|
1128
|
+
self.chunk_left = int(line, 16)
|
1129
|
+
except ValueError:
|
1130
|
+
self.close()
|
1131
|
+
if line:
|
1132
|
+
# Invalid chunked protocol response, abort.
|
1133
|
+
raise InvalidChunkLength(self, line) from None
|
1134
|
+
else:
|
1135
|
+
# Truncated at start of next chunk
|
1136
|
+
raise ProtocolError("Response ended prematurely") from None
|
1137
|
+
|
1138
|
+
def _handle_chunk(self, amt: int | None) -> bytes:
|
1139
|
+
returned_chunk = None
|
1140
|
+
if amt is None:
|
1141
|
+
chunk = self._fp._safe_read(self.chunk_left) # type: ignore[union-attr]
|
1142
|
+
returned_chunk = chunk
|
1143
|
+
self._fp._safe_read(2) # type: ignore[union-attr] # Toss the CRLF at the end of the chunk.
|
1144
|
+
self.chunk_left = None
|
1145
|
+
elif self.chunk_left is not None and amt < self.chunk_left:
|
1146
|
+
value = self._fp._safe_read(amt) # type: ignore[union-attr]
|
1147
|
+
self.chunk_left = self.chunk_left - amt
|
1148
|
+
returned_chunk = value
|
1149
|
+
elif amt == self.chunk_left:
|
1150
|
+
value = self._fp._safe_read(amt) # type: ignore[union-attr]
|
1151
|
+
self._fp._safe_read(2) # type: ignore[union-attr] # Toss the CRLF at the end of the chunk.
|
1152
|
+
self.chunk_left = None
|
1153
|
+
returned_chunk = value
|
1154
|
+
else: # amt > self.chunk_left
|
1155
|
+
returned_chunk = self._fp._safe_read(self.chunk_left) # type: ignore[union-attr]
|
1156
|
+
self._fp._safe_read(2) # type: ignore[union-attr] # Toss the CRLF at the end of the chunk.
|
1157
|
+
self.chunk_left = None
|
1158
|
+
return returned_chunk # type: ignore[no-any-return]
|
1159
|
+
|
1160
|
+
def read_chunked(
|
1161
|
+
self, amt: int | None = None, decode_content: bool | None = None
|
1162
|
+
) -> typing.Generator[bytes, None, None]:
|
1163
|
+
"""
|
1164
|
+
Similar to :meth:`HTTPResponse.read`, but with an additional
|
1165
|
+
parameter: ``decode_content``.
|
1166
|
+
|
1167
|
+
:param amt:
|
1168
|
+
How much of the content to read. If specified, caching is skipped
|
1169
|
+
because it doesn't make sense to cache partial content as the full
|
1170
|
+
response.
|
1171
|
+
|
1172
|
+
:param decode_content:
|
1173
|
+
If True, will attempt to decode the body based on the
|
1174
|
+
'content-encoding' header.
|
1175
|
+
"""
|
1176
|
+
self._init_decoder()
|
1177
|
+
# FIXME: Rewrite this method and make it a class with a better structured logic.
|
1178
|
+
if not self.chunked:
|
1179
|
+
raise ResponseNotChunked(
|
1180
|
+
"Response is not chunked. "
|
1181
|
+
"Header 'transfer-encoding: chunked' is missing."
|
1182
|
+
)
|
1183
|
+
if not self.supports_chunked_reads():
|
1184
|
+
raise BodyNotHttplibCompatible(
|
1185
|
+
"Body should be http.client.HTTPResponse like. "
|
1186
|
+
"It should have have an fp attribute which returns raw chunks."
|
1187
|
+
)
|
1188
|
+
|
1189
|
+
with self._error_catcher():
|
1190
|
+
# Don't bother reading the body of a HEAD request.
|
1191
|
+
if self._original_response and is_response_to_head(self._original_response):
|
1192
|
+
self._original_response.close()
|
1193
|
+
return None
|
1194
|
+
|
1195
|
+
# If a response is already read and closed
|
1196
|
+
# then return immediately.
|
1197
|
+
if self._fp.fp is None: # type: ignore[union-attr]
|
1198
|
+
return None
|
1199
|
+
|
1200
|
+
if amt and amt < 0:
|
1201
|
+
# Negative numbers and `None` should be treated the same,
|
1202
|
+
# but httplib handles only `None` correctly.
|
1203
|
+
amt = None
|
1204
|
+
|
1205
|
+
while True:
|
1206
|
+
self._update_chunk_length()
|
1207
|
+
if self.chunk_left == 0:
|
1208
|
+
break
|
1209
|
+
chunk = self._handle_chunk(amt)
|
1210
|
+
decoded = self._decode(
|
1211
|
+
chunk, decode_content=decode_content, flush_decoder=False
|
1212
|
+
)
|
1213
|
+
if decoded:
|
1214
|
+
yield decoded
|
1215
|
+
|
1216
|
+
if decode_content:
|
1217
|
+
# On CPython and PyPy, we should never need to flush the
|
1218
|
+
# decoder. However, on Jython we *might* need to, so
|
1219
|
+
# lets defensively do it anyway.
|
1220
|
+
decoded = self._flush_decoder()
|
1221
|
+
if decoded: # Platform-specific: Jython.
|
1222
|
+
yield decoded
|
1223
|
+
|
1224
|
+
# Chunk content ends with \r\n: discard it.
|
1225
|
+
while self._fp is not None:
|
1226
|
+
line = self._fp.fp.readline()
|
1227
|
+
if not line:
|
1228
|
+
# Some sites may not end with '\r\n'.
|
1229
|
+
break
|
1230
|
+
if line == b"\r\n":
|
1231
|
+
break
|
1232
|
+
|
1233
|
+
# We read everything; close the "file".
|
1234
|
+
if self._original_response:
|
1235
|
+
self._original_response.close()
|
1236
|
+
|
1237
|
+
@property
|
1238
|
+
def url(self) -> str | None:
|
1239
|
+
"""
|
1240
|
+
Returns the URL that was the source of this response.
|
1241
|
+
If the request that generated this response redirected, this method
|
1242
|
+
will return the final redirect location.
|
1243
|
+
"""
|
1244
|
+
return self._request_url
|
1245
|
+
|
1246
|
+
@url.setter
|
1247
|
+
def url(self, url: str) -> None:
|
1248
|
+
self._request_url = url
|
1249
|
+
|
1250
|
+
def __iter__(self) -> typing.Iterator[bytes]:
|
1251
|
+
buffer: list[bytes] = []
|
1252
|
+
for chunk in self.stream(decode_content=True):
|
1253
|
+
if b"\n" in chunk:
|
1254
|
+
chunks = chunk.split(b"\n")
|
1255
|
+
yield b"".join(buffer) + chunks[0] + b"\n"
|
1256
|
+
for x in chunks[1:-1]:
|
1257
|
+
yield x + b"\n"
|
1258
|
+
if chunks[-1]:
|
1259
|
+
buffer = [chunks[-1]]
|
1260
|
+
else:
|
1261
|
+
buffer = []
|
1262
|
+
else:
|
1263
|
+
buffer.append(chunk)
|
1264
|
+
if buffer:
|
1265
|
+
yield b"".join(buffer)
|