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,1307 @@
|
|
1
|
+
import re
|
2
|
+
from functools import partial, reduce
|
3
|
+
from math import gcd
|
4
|
+
from operator import itemgetter
|
5
|
+
from typing import (
|
6
|
+
TYPE_CHECKING,
|
7
|
+
Any,
|
8
|
+
Callable,
|
9
|
+
Dict,
|
10
|
+
Iterable,
|
11
|
+
List,
|
12
|
+
NamedTuple,
|
13
|
+
Optional,
|
14
|
+
Tuple,
|
15
|
+
Union,
|
16
|
+
)
|
17
|
+
|
18
|
+
from ._loop import loop_last
|
19
|
+
from ._pick import pick_bool
|
20
|
+
from ._wrap import divide_line
|
21
|
+
from .align import AlignMethod
|
22
|
+
from .cells import cell_len, set_cell_size
|
23
|
+
from .containers import Lines
|
24
|
+
from .control import strip_control_codes
|
25
|
+
from .emoji import EmojiVariant
|
26
|
+
from .jupyter import JupyterMixin
|
27
|
+
from .measure import Measurement
|
28
|
+
from .segment import Segment
|
29
|
+
from .style import Style, StyleType
|
30
|
+
|
31
|
+
if TYPE_CHECKING: # pragma: no cover
|
32
|
+
from .console import Console, ConsoleOptions, JustifyMethod, OverflowMethod
|
33
|
+
|
34
|
+
DEFAULT_JUSTIFY: "JustifyMethod" = "default"
|
35
|
+
DEFAULT_OVERFLOW: "OverflowMethod" = "fold"
|
36
|
+
|
37
|
+
|
38
|
+
_re_whitespace = re.compile(r"\s+$")
|
39
|
+
|
40
|
+
TextType = Union[str, "Text"]
|
41
|
+
|
42
|
+
GetStyleCallable = Callable[[str], Optional[StyleType]]
|
43
|
+
|
44
|
+
|
45
|
+
class Span(NamedTuple):
|
46
|
+
"""A marked up region in some text."""
|
47
|
+
|
48
|
+
start: int
|
49
|
+
"""Span start index."""
|
50
|
+
end: int
|
51
|
+
"""Span end index."""
|
52
|
+
style: Union[str, Style]
|
53
|
+
"""Style associated with the span."""
|
54
|
+
|
55
|
+
def __repr__(self) -> str:
|
56
|
+
return f"Span({self.start}, {self.end}, {self.style!r})"
|
57
|
+
|
58
|
+
def __bool__(self) -> bool:
|
59
|
+
return self.end > self.start
|
60
|
+
|
61
|
+
def split(self, offset: int) -> Tuple["Span", Optional["Span"]]:
|
62
|
+
"""Split a span in to 2 from a given offset."""
|
63
|
+
|
64
|
+
if offset < self.start:
|
65
|
+
return self, None
|
66
|
+
if offset >= self.end:
|
67
|
+
return self, None
|
68
|
+
|
69
|
+
start, end, style = self
|
70
|
+
span1 = Span(start, min(end, offset), style)
|
71
|
+
span2 = Span(span1.end, end, style)
|
72
|
+
return span1, span2
|
73
|
+
|
74
|
+
def move(self, offset: int) -> "Span":
|
75
|
+
"""Move start and end by a given offset.
|
76
|
+
|
77
|
+
Args:
|
78
|
+
offset (int): Number of characters to add to start and end.
|
79
|
+
|
80
|
+
Returns:
|
81
|
+
TextSpan: A new TextSpan with adjusted position.
|
82
|
+
"""
|
83
|
+
start, end, style = self
|
84
|
+
return Span(start + offset, end + offset, style)
|
85
|
+
|
86
|
+
def right_crop(self, offset: int) -> "Span":
|
87
|
+
"""Crop the span at the given offset.
|
88
|
+
|
89
|
+
Args:
|
90
|
+
offset (int): A value between start and end.
|
91
|
+
|
92
|
+
Returns:
|
93
|
+
Span: A new (possibly smaller) span.
|
94
|
+
"""
|
95
|
+
start, end, style = self
|
96
|
+
if offset >= end:
|
97
|
+
return self
|
98
|
+
return Span(start, min(offset, end), style)
|
99
|
+
|
100
|
+
|
101
|
+
class Text(JupyterMixin):
|
102
|
+
"""Text with color / style.
|
103
|
+
|
104
|
+
Args:
|
105
|
+
text (str, optional): Default unstyled text. Defaults to "".
|
106
|
+
style (Union[str, Style], optional): Base style for text. Defaults to "".
|
107
|
+
justify (str, optional): Justify method: "left", "center", "full", "right". Defaults to None.
|
108
|
+
overflow (str, optional): Overflow method: "crop", "fold", "ellipsis". Defaults to None.
|
109
|
+
no_wrap (bool, optional): Disable text wrapping, or None for default. Defaults to None.
|
110
|
+
end (str, optional): Character to end text with. Defaults to "\\\\n".
|
111
|
+
tab_size (int): Number of spaces per tab, or ``None`` to use ``console.tab_size``. Defaults to 8.
|
112
|
+
spans (List[Span], optional). A list of predefined style spans. Defaults to None.
|
113
|
+
"""
|
114
|
+
|
115
|
+
__slots__ = [
|
116
|
+
"_text",
|
117
|
+
"style",
|
118
|
+
"justify",
|
119
|
+
"overflow",
|
120
|
+
"no_wrap",
|
121
|
+
"end",
|
122
|
+
"tab_size",
|
123
|
+
"_spans",
|
124
|
+
"_length",
|
125
|
+
]
|
126
|
+
|
127
|
+
def __init__(
|
128
|
+
self,
|
129
|
+
text: str = "",
|
130
|
+
style: Union[str, Style] = "",
|
131
|
+
*,
|
132
|
+
justify: Optional["JustifyMethod"] = None,
|
133
|
+
overflow: Optional["OverflowMethod"] = None,
|
134
|
+
no_wrap: Optional[bool] = None,
|
135
|
+
end: str = "\n",
|
136
|
+
tab_size: Optional[int] = 8,
|
137
|
+
spans: Optional[List[Span]] = None,
|
138
|
+
) -> None:
|
139
|
+
sanitized_text = strip_control_codes(text)
|
140
|
+
self._text = [sanitized_text]
|
141
|
+
self.style = style
|
142
|
+
self.justify: Optional["JustifyMethod"] = justify
|
143
|
+
self.overflow: Optional["OverflowMethod"] = overflow
|
144
|
+
self.no_wrap = no_wrap
|
145
|
+
self.end = end
|
146
|
+
self.tab_size = tab_size
|
147
|
+
self._spans: List[Span] = spans or []
|
148
|
+
self._length: int = len(sanitized_text)
|
149
|
+
|
150
|
+
def __len__(self) -> int:
|
151
|
+
return self._length
|
152
|
+
|
153
|
+
def __bool__(self) -> bool:
|
154
|
+
return bool(self._length)
|
155
|
+
|
156
|
+
def __str__(self) -> str:
|
157
|
+
return self.plain
|
158
|
+
|
159
|
+
def __repr__(self) -> str:
|
160
|
+
return f"<text {self.plain!r} {self._spans!r}>"
|
161
|
+
|
162
|
+
def __add__(self, other: Any) -> "Text":
|
163
|
+
if isinstance(other, (str, Text)):
|
164
|
+
result = self.copy()
|
165
|
+
result.append(other)
|
166
|
+
return result
|
167
|
+
return NotImplemented
|
168
|
+
|
169
|
+
def __eq__(self, other: object) -> bool:
|
170
|
+
if not isinstance(other, Text):
|
171
|
+
return NotImplemented
|
172
|
+
return self.plain == other.plain and self._spans == other._spans
|
173
|
+
|
174
|
+
def __contains__(self, other: object) -> bool:
|
175
|
+
if isinstance(other, str):
|
176
|
+
return other in self.plain
|
177
|
+
elif isinstance(other, Text):
|
178
|
+
return other.plain in self.plain
|
179
|
+
return False
|
180
|
+
|
181
|
+
def __getitem__(self, slice: Union[int, slice]) -> "Text":
|
182
|
+
def get_text_at(offset: int) -> "Text":
|
183
|
+
_Span = Span
|
184
|
+
text = Text(
|
185
|
+
self.plain[offset],
|
186
|
+
spans=[
|
187
|
+
_Span(0, 1, style)
|
188
|
+
for start, end, style in self._spans
|
189
|
+
if end > offset >= start
|
190
|
+
],
|
191
|
+
end="",
|
192
|
+
)
|
193
|
+
return text
|
194
|
+
|
195
|
+
if isinstance(slice, int):
|
196
|
+
return get_text_at(slice)
|
197
|
+
else:
|
198
|
+
start, stop, step = slice.indices(len(self.plain))
|
199
|
+
if step == 1:
|
200
|
+
lines = self.divide([start, stop])
|
201
|
+
return lines[1]
|
202
|
+
else:
|
203
|
+
# This would be a bit of work to implement efficiently
|
204
|
+
# For now, its not required
|
205
|
+
raise TypeError("slices with step!=1 are not supported")
|
206
|
+
|
207
|
+
@property
|
208
|
+
def cell_len(self) -> int:
|
209
|
+
"""Get the number of cells required to render this text."""
|
210
|
+
return cell_len(self.plain)
|
211
|
+
|
212
|
+
@property
|
213
|
+
def markup(self) -> str:
|
214
|
+
"""Get console markup to render this Text.
|
215
|
+
|
216
|
+
Returns:
|
217
|
+
str: A string potentially creating markup tags.
|
218
|
+
"""
|
219
|
+
from .markup import escape
|
220
|
+
|
221
|
+
output: List[str] = []
|
222
|
+
|
223
|
+
plain = self.plain
|
224
|
+
markup_spans = [
|
225
|
+
(0, False, self.style),
|
226
|
+
*((span.start, False, span.style) for span in self._spans),
|
227
|
+
*((span.end, True, span.style) for span in self._spans),
|
228
|
+
(len(plain), True, self.style),
|
229
|
+
]
|
230
|
+
markup_spans.sort(key=itemgetter(0, 1))
|
231
|
+
position = 0
|
232
|
+
append = output.append
|
233
|
+
for offset, closing, style in markup_spans:
|
234
|
+
if offset > position:
|
235
|
+
append(escape(plain[position:offset]))
|
236
|
+
position = offset
|
237
|
+
if style:
|
238
|
+
append(f"[/{style}]" if closing else f"[{style}]")
|
239
|
+
markup = "".join(output)
|
240
|
+
return markup
|
241
|
+
|
242
|
+
@classmethod
|
243
|
+
def from_markup(
|
244
|
+
cls,
|
245
|
+
text: str,
|
246
|
+
*,
|
247
|
+
style: Union[str, Style] = "",
|
248
|
+
emoji: bool = True,
|
249
|
+
emoji_variant: Optional[EmojiVariant] = None,
|
250
|
+
justify: Optional["JustifyMethod"] = None,
|
251
|
+
overflow: Optional["OverflowMethod"] = None,
|
252
|
+
end: str = "\n",
|
253
|
+
) -> "Text":
|
254
|
+
"""Create Text instance from markup.
|
255
|
+
|
256
|
+
Args:
|
257
|
+
text (str): A string containing console markup.
|
258
|
+
emoji (bool, optional): Also render emoji code. Defaults to True.
|
259
|
+
justify (str, optional): Justify method: "left", "center", "full", "right". Defaults to None.
|
260
|
+
overflow (str, optional): Overflow method: "crop", "fold", "ellipsis". Defaults to None.
|
261
|
+
end (str, optional): Character to end text with. Defaults to "\\\\n".
|
262
|
+
|
263
|
+
Returns:
|
264
|
+
Text: A Text instance with markup rendered.
|
265
|
+
"""
|
266
|
+
from .markup import render
|
267
|
+
|
268
|
+
rendered_text = render(text, style, emoji=emoji, emoji_variant=emoji_variant)
|
269
|
+
rendered_text.justify = justify
|
270
|
+
rendered_text.overflow = overflow
|
271
|
+
rendered_text.end = end
|
272
|
+
return rendered_text
|
273
|
+
|
274
|
+
@classmethod
|
275
|
+
def from_ansi(
|
276
|
+
cls,
|
277
|
+
text: str,
|
278
|
+
*,
|
279
|
+
style: Union[str, Style] = "",
|
280
|
+
justify: Optional["JustifyMethod"] = None,
|
281
|
+
overflow: Optional["OverflowMethod"] = None,
|
282
|
+
no_wrap: Optional[bool] = None,
|
283
|
+
end: str = "\n",
|
284
|
+
tab_size: Optional[int] = 8,
|
285
|
+
) -> "Text":
|
286
|
+
"""Create a Text object from a string containing ANSI escape codes.
|
287
|
+
|
288
|
+
Args:
|
289
|
+
text (str): A string containing escape codes.
|
290
|
+
style (Union[str, Style], optional): Base style for text. Defaults to "".
|
291
|
+
justify (str, optional): Justify method: "left", "center", "full", "right". Defaults to None.
|
292
|
+
overflow (str, optional): Overflow method: "crop", "fold", "ellipsis". Defaults to None.
|
293
|
+
no_wrap (bool, optional): Disable text wrapping, or None for default. Defaults to None.
|
294
|
+
end (str, optional): Character to end text with. Defaults to "\\\\n".
|
295
|
+
tab_size (int): Number of spaces per tab, or ``None`` to use ``console.tab_size``. Defaults to 8.
|
296
|
+
"""
|
297
|
+
from .ansi import AnsiDecoder
|
298
|
+
|
299
|
+
joiner = Text(
|
300
|
+
"\n",
|
301
|
+
justify=justify,
|
302
|
+
overflow=overflow,
|
303
|
+
no_wrap=no_wrap,
|
304
|
+
end=end,
|
305
|
+
tab_size=tab_size,
|
306
|
+
style=style,
|
307
|
+
)
|
308
|
+
decoder = AnsiDecoder()
|
309
|
+
result = joiner.join(line for line in decoder.decode(text))
|
310
|
+
return result
|
311
|
+
|
312
|
+
@classmethod
|
313
|
+
def styled(
|
314
|
+
cls,
|
315
|
+
text: str,
|
316
|
+
style: StyleType = "",
|
317
|
+
*,
|
318
|
+
justify: Optional["JustifyMethod"] = None,
|
319
|
+
overflow: Optional["OverflowMethod"] = None,
|
320
|
+
) -> "Text":
|
321
|
+
"""Construct a Text instance with a pre-applied styled. A style applied in this way won't be used
|
322
|
+
to pad the text when it is justified.
|
323
|
+
|
324
|
+
Args:
|
325
|
+
text (str): A string containing console markup.
|
326
|
+
style (Union[str, Style]): Style to apply to the text. Defaults to "".
|
327
|
+
justify (str, optional): Justify method: "left", "center", "full", "right". Defaults to None.
|
328
|
+
overflow (str, optional): Overflow method: "crop", "fold", "ellipsis". Defaults to None.
|
329
|
+
|
330
|
+
Returns:
|
331
|
+
Text: A text instance with a style applied to the entire string.
|
332
|
+
"""
|
333
|
+
styled_text = cls(text, justify=justify, overflow=overflow)
|
334
|
+
styled_text.stylize(style)
|
335
|
+
return styled_text
|
336
|
+
|
337
|
+
@classmethod
|
338
|
+
def assemble(
|
339
|
+
cls,
|
340
|
+
*parts: Union[str, "Text", Tuple[str, StyleType]],
|
341
|
+
style: Union[str, Style] = "",
|
342
|
+
justify: Optional["JustifyMethod"] = None,
|
343
|
+
overflow: Optional["OverflowMethod"] = None,
|
344
|
+
no_wrap: Optional[bool] = None,
|
345
|
+
end: str = "\n",
|
346
|
+
tab_size: int = 8,
|
347
|
+
meta: Optional[Dict[str, Any]] = None,
|
348
|
+
) -> "Text":
|
349
|
+
"""Construct a text instance by combining a sequence of strings with optional styles.
|
350
|
+
The positional arguments should be either strings, or a tuple of string + style.
|
351
|
+
|
352
|
+
Args:
|
353
|
+
style (Union[str, Style], optional): Base style for text. Defaults to "".
|
354
|
+
justify (str, optional): Justify method: "left", "center", "full", "right". Defaults to None.
|
355
|
+
overflow (str, optional): Overflow method: "crop", "fold", "ellipsis". Defaults to None.
|
356
|
+
end (str, optional): Character to end text with. Defaults to "\\\\n".
|
357
|
+
tab_size (int): Number of spaces per tab, or ``None`` to use ``console.tab_size``. Defaults to 8.
|
358
|
+
meta (Dict[str, Any], optional). Meta data to apply to text, or None for no meta data. Default to None
|
359
|
+
|
360
|
+
Returns:
|
361
|
+
Text: A new text instance.
|
362
|
+
"""
|
363
|
+
text = cls(
|
364
|
+
style=style,
|
365
|
+
justify=justify,
|
366
|
+
overflow=overflow,
|
367
|
+
no_wrap=no_wrap,
|
368
|
+
end=end,
|
369
|
+
tab_size=tab_size,
|
370
|
+
)
|
371
|
+
append = text.append
|
372
|
+
_Text = Text
|
373
|
+
for part in parts:
|
374
|
+
if isinstance(part, (_Text, str)):
|
375
|
+
append(part)
|
376
|
+
else:
|
377
|
+
append(*part)
|
378
|
+
if meta:
|
379
|
+
text.apply_meta(meta)
|
380
|
+
return text
|
381
|
+
|
382
|
+
@property
|
383
|
+
def plain(self) -> str:
|
384
|
+
"""Get the text as a single string."""
|
385
|
+
if len(self._text) != 1:
|
386
|
+
self._text[:] = ["".join(self._text)]
|
387
|
+
return self._text[0]
|
388
|
+
|
389
|
+
@plain.setter
|
390
|
+
def plain(self, new_text: str) -> None:
|
391
|
+
"""Set the text to a new value."""
|
392
|
+
if new_text != self.plain:
|
393
|
+
sanitized_text = strip_control_codes(new_text)
|
394
|
+
self._text[:] = [sanitized_text]
|
395
|
+
old_length = self._length
|
396
|
+
self._length = len(sanitized_text)
|
397
|
+
if old_length > self._length:
|
398
|
+
self._trim_spans()
|
399
|
+
|
400
|
+
@property
|
401
|
+
def spans(self) -> List[Span]:
|
402
|
+
"""Get a reference to the internal list of spans."""
|
403
|
+
return self._spans
|
404
|
+
|
405
|
+
@spans.setter
|
406
|
+
def spans(self, spans: List[Span]) -> None:
|
407
|
+
"""Set spans."""
|
408
|
+
self._spans = spans[:]
|
409
|
+
|
410
|
+
def blank_copy(self, plain: str = "") -> "Text":
|
411
|
+
"""Return a new Text instance with copied meta data (but not the string or spans)."""
|
412
|
+
copy_self = Text(
|
413
|
+
plain,
|
414
|
+
style=self.style,
|
415
|
+
justify=self.justify,
|
416
|
+
overflow=self.overflow,
|
417
|
+
no_wrap=self.no_wrap,
|
418
|
+
end=self.end,
|
419
|
+
tab_size=self.tab_size,
|
420
|
+
)
|
421
|
+
return copy_self
|
422
|
+
|
423
|
+
def copy(self) -> "Text":
|
424
|
+
"""Return a copy of this instance."""
|
425
|
+
copy_self = Text(
|
426
|
+
self.plain,
|
427
|
+
style=self.style,
|
428
|
+
justify=self.justify,
|
429
|
+
overflow=self.overflow,
|
430
|
+
no_wrap=self.no_wrap,
|
431
|
+
end=self.end,
|
432
|
+
tab_size=self.tab_size,
|
433
|
+
)
|
434
|
+
copy_self._spans[:] = self._spans
|
435
|
+
return copy_self
|
436
|
+
|
437
|
+
def stylize(
|
438
|
+
self,
|
439
|
+
style: Union[str, Style],
|
440
|
+
start: int = 0,
|
441
|
+
end: Optional[int] = None,
|
442
|
+
) -> None:
|
443
|
+
"""Apply a style to the text, or a portion of the text.
|
444
|
+
|
445
|
+
Args:
|
446
|
+
style (Union[str, Style]): Style instance or style definition to apply.
|
447
|
+
start (int): Start offset (negative indexing is supported). Defaults to 0.
|
448
|
+
end (Optional[int], optional): End offset (negative indexing is supported), or None for end of text. Defaults to None.
|
449
|
+
"""
|
450
|
+
if style:
|
451
|
+
length = len(self)
|
452
|
+
if start < 0:
|
453
|
+
start = length + start
|
454
|
+
if end is None:
|
455
|
+
end = length
|
456
|
+
if end < 0:
|
457
|
+
end = length + end
|
458
|
+
if start >= length or end <= start:
|
459
|
+
# Span not in text or not valid
|
460
|
+
return
|
461
|
+
self._spans.append(Span(start, min(length, end), style))
|
462
|
+
|
463
|
+
def stylize_before(
|
464
|
+
self,
|
465
|
+
style: Union[str, Style],
|
466
|
+
start: int = 0,
|
467
|
+
end: Optional[int] = None,
|
468
|
+
) -> None:
|
469
|
+
"""Apply a style to the text, or a portion of the text. Styles will be applied before other styles already present.
|
470
|
+
|
471
|
+
Args:
|
472
|
+
style (Union[str, Style]): Style instance or style definition to apply.
|
473
|
+
start (int): Start offset (negative indexing is supported). Defaults to 0.
|
474
|
+
end (Optional[int], optional): End offset (negative indexing is supported), or None for end of text. Defaults to None.
|
475
|
+
"""
|
476
|
+
if style:
|
477
|
+
length = len(self)
|
478
|
+
if start < 0:
|
479
|
+
start = length + start
|
480
|
+
if end is None:
|
481
|
+
end = length
|
482
|
+
if end < 0:
|
483
|
+
end = length + end
|
484
|
+
if start >= length or end <= start:
|
485
|
+
# Span not in text or not valid
|
486
|
+
return
|
487
|
+
self._spans.insert(0, Span(start, min(length, end), style))
|
488
|
+
|
489
|
+
def apply_meta(
|
490
|
+
self, meta: Dict[str, Any], start: int = 0, end: Optional[int] = None
|
491
|
+
) -> None:
|
492
|
+
"""Apply meta data to the text, or a portion of the text.
|
493
|
+
|
494
|
+
Args:
|
495
|
+
meta (Dict[str, Any]): A dict of meta information.
|
496
|
+
start (int): Start offset (negative indexing is supported). Defaults to 0.
|
497
|
+
end (Optional[int], optional): End offset (negative indexing is supported), or None for end of text. Defaults to None.
|
498
|
+
|
499
|
+
"""
|
500
|
+
style = Style.from_meta(meta)
|
501
|
+
self.stylize(style, start=start, end=end)
|
502
|
+
|
503
|
+
def on(self, meta: Optional[Dict[str, Any]] = None, **handlers: Any) -> "Text":
|
504
|
+
"""Apply event handlers (used by Textual project).
|
505
|
+
|
506
|
+
Example:
|
507
|
+
>>> from rich.text import Text
|
508
|
+
>>> text = Text("hello world")
|
509
|
+
>>> text.on(click="view.toggle('world')")
|
510
|
+
|
511
|
+
Args:
|
512
|
+
meta (Dict[str, Any]): Mapping of meta information.
|
513
|
+
**handlers: Keyword args are prefixed with "@" to defined handlers.
|
514
|
+
|
515
|
+
Returns:
|
516
|
+
Text: Self is returned to method may be chained.
|
517
|
+
"""
|
518
|
+
meta = {} if meta is None else meta
|
519
|
+
meta.update({f"@{key}": value for key, value in handlers.items()})
|
520
|
+
self.stylize(Style.from_meta(meta))
|
521
|
+
return self
|
522
|
+
|
523
|
+
def remove_suffix(self, suffix: str) -> None:
|
524
|
+
"""Remove a suffix if it exists.
|
525
|
+
|
526
|
+
Args:
|
527
|
+
suffix (str): Suffix to remove.
|
528
|
+
"""
|
529
|
+
if self.plain.endswith(suffix):
|
530
|
+
self.right_crop(len(suffix))
|
531
|
+
|
532
|
+
def get_style_at_offset(self, console: "Console", offset: int) -> Style:
|
533
|
+
"""Get the style of a character at give offset.
|
534
|
+
|
535
|
+
Args:
|
536
|
+
console (~Console): Console where text will be rendered.
|
537
|
+
offset (int): Offset in to text (negative indexing supported)
|
538
|
+
|
539
|
+
Returns:
|
540
|
+
Style: A Style instance.
|
541
|
+
"""
|
542
|
+
# TODO: This is a little inefficient, it is only used by full justify
|
543
|
+
if offset < 0:
|
544
|
+
offset = len(self) + offset
|
545
|
+
get_style = console.get_style
|
546
|
+
style = get_style(self.style).copy()
|
547
|
+
for start, end, span_style in self._spans:
|
548
|
+
if end > offset >= start:
|
549
|
+
style += get_style(span_style, default="")
|
550
|
+
return style
|
551
|
+
|
552
|
+
def highlight_regex(
|
553
|
+
self,
|
554
|
+
re_highlight: str,
|
555
|
+
style: Optional[Union[GetStyleCallable, StyleType]] = None,
|
556
|
+
*,
|
557
|
+
style_prefix: str = "",
|
558
|
+
) -> int:
|
559
|
+
"""Highlight text with a regular expression, where group names are
|
560
|
+
translated to styles.
|
561
|
+
|
562
|
+
Args:
|
563
|
+
re_highlight (str): A regular expression.
|
564
|
+
style (Union[GetStyleCallable, StyleType]): Optional style to apply to whole match, or a callable
|
565
|
+
which accepts the matched text and returns a style. Defaults to None.
|
566
|
+
style_prefix (str, optional): Optional prefix to add to style group names.
|
567
|
+
|
568
|
+
Returns:
|
569
|
+
int: Number of regex matches
|
570
|
+
"""
|
571
|
+
count = 0
|
572
|
+
append_span = self._spans.append
|
573
|
+
_Span = Span
|
574
|
+
plain = self.plain
|
575
|
+
for match in re.finditer(re_highlight, plain):
|
576
|
+
get_span = match.span
|
577
|
+
if style:
|
578
|
+
start, end = get_span()
|
579
|
+
match_style = style(plain[start:end]) if callable(style) else style
|
580
|
+
if match_style is not None and end > start:
|
581
|
+
append_span(_Span(start, end, match_style))
|
582
|
+
|
583
|
+
count += 1
|
584
|
+
for name in match.groupdict().keys():
|
585
|
+
start, end = get_span(name)
|
586
|
+
if start != -1 and end > start:
|
587
|
+
append_span(_Span(start, end, f"{style_prefix}{name}"))
|
588
|
+
return count
|
589
|
+
|
590
|
+
def highlight_words(
|
591
|
+
self,
|
592
|
+
words: Iterable[str],
|
593
|
+
style: Union[str, Style],
|
594
|
+
*,
|
595
|
+
case_sensitive: bool = True,
|
596
|
+
) -> int:
|
597
|
+
"""Highlight words with a style.
|
598
|
+
|
599
|
+
Args:
|
600
|
+
words (Iterable[str]): Worlds to highlight.
|
601
|
+
style (Union[str, Style]): Style to apply.
|
602
|
+
case_sensitive (bool, optional): Enable case sensitive matchings. Defaults to True.
|
603
|
+
|
604
|
+
Returns:
|
605
|
+
int: Number of words highlighted.
|
606
|
+
"""
|
607
|
+
re_words = "|".join(re.escape(word) for word in words)
|
608
|
+
add_span = self._spans.append
|
609
|
+
count = 0
|
610
|
+
_Span = Span
|
611
|
+
for match in re.finditer(
|
612
|
+
re_words, self.plain, flags=0 if case_sensitive else re.IGNORECASE
|
613
|
+
):
|
614
|
+
start, end = match.span(0)
|
615
|
+
add_span(_Span(start, end, style))
|
616
|
+
count += 1
|
617
|
+
return count
|
618
|
+
|
619
|
+
def rstrip(self) -> None:
|
620
|
+
"""Strip whitespace from end of text."""
|
621
|
+
self.plain = self.plain.rstrip()
|
622
|
+
|
623
|
+
def rstrip_end(self, size: int) -> None:
|
624
|
+
"""Remove whitespace beyond a certain width at the end of the text.
|
625
|
+
|
626
|
+
Args:
|
627
|
+
size (int): The desired size of the text.
|
628
|
+
"""
|
629
|
+
text_length = len(self)
|
630
|
+
if text_length > size:
|
631
|
+
excess = text_length - size
|
632
|
+
whitespace_match = _re_whitespace.search(self.plain)
|
633
|
+
if whitespace_match is not None:
|
634
|
+
whitespace_count = len(whitespace_match.group(0))
|
635
|
+
self.right_crop(min(whitespace_count, excess))
|
636
|
+
|
637
|
+
def set_length(self, new_length: int) -> None:
|
638
|
+
"""Set new length of the text, clipping or padding is required."""
|
639
|
+
length = len(self)
|
640
|
+
if length != new_length:
|
641
|
+
if length < new_length:
|
642
|
+
self.pad_right(new_length - length)
|
643
|
+
else:
|
644
|
+
self.right_crop(length - new_length)
|
645
|
+
|
646
|
+
def __rich_console__(
|
647
|
+
self, console: "Console", options: "ConsoleOptions"
|
648
|
+
) -> Iterable[Segment]:
|
649
|
+
tab_size: int = console.tab_size or self.tab_size or 8
|
650
|
+
justify = self.justify or options.justify or DEFAULT_JUSTIFY
|
651
|
+
|
652
|
+
overflow = self.overflow or options.overflow or DEFAULT_OVERFLOW
|
653
|
+
|
654
|
+
lines = self.wrap(
|
655
|
+
console,
|
656
|
+
options.max_width,
|
657
|
+
justify=justify,
|
658
|
+
overflow=overflow,
|
659
|
+
tab_size=tab_size or 8,
|
660
|
+
no_wrap=pick_bool(self.no_wrap, options.no_wrap, False),
|
661
|
+
)
|
662
|
+
all_lines = Text("\n").join(lines)
|
663
|
+
yield from all_lines.render(console, end=self.end)
|
664
|
+
|
665
|
+
def __rich_measure__(
|
666
|
+
self, console: "Console", options: "ConsoleOptions"
|
667
|
+
) -> Measurement:
|
668
|
+
text = self.plain
|
669
|
+
lines = text.splitlines()
|
670
|
+
max_text_width = max(cell_len(line) for line in lines) if lines else 0
|
671
|
+
words = text.split()
|
672
|
+
min_text_width = (
|
673
|
+
max(cell_len(word) for word in words) if words else max_text_width
|
674
|
+
)
|
675
|
+
return Measurement(min_text_width, max_text_width)
|
676
|
+
|
677
|
+
def render(self, console: "Console", end: str = "") -> Iterable["Segment"]:
|
678
|
+
"""Render the text as Segments.
|
679
|
+
|
680
|
+
Args:
|
681
|
+
console (Console): Console instance.
|
682
|
+
end (Optional[str], optional): Optional end character.
|
683
|
+
|
684
|
+
Returns:
|
685
|
+
Iterable[Segment]: Result of render that may be written to the console.
|
686
|
+
"""
|
687
|
+
_Segment = Segment
|
688
|
+
text = self.plain
|
689
|
+
if not self._spans:
|
690
|
+
yield Segment(text)
|
691
|
+
if end:
|
692
|
+
yield _Segment(end)
|
693
|
+
return
|
694
|
+
get_style = partial(console.get_style, default=Style.null())
|
695
|
+
|
696
|
+
enumerated_spans = list(enumerate(self._spans, 1))
|
697
|
+
style_map = {index: get_style(span.style) for index, span in enumerated_spans}
|
698
|
+
style_map[0] = get_style(self.style)
|
699
|
+
|
700
|
+
spans = [
|
701
|
+
(0, False, 0),
|
702
|
+
*((span.start, False, index) for index, span in enumerated_spans),
|
703
|
+
*((span.end, True, index) for index, span in enumerated_spans),
|
704
|
+
(len(text), True, 0),
|
705
|
+
]
|
706
|
+
spans.sort(key=itemgetter(0, 1))
|
707
|
+
|
708
|
+
stack: List[int] = []
|
709
|
+
stack_append = stack.append
|
710
|
+
stack_pop = stack.remove
|
711
|
+
|
712
|
+
style_cache: Dict[Tuple[Style, ...], Style] = {}
|
713
|
+
style_cache_get = style_cache.get
|
714
|
+
combine = Style.combine
|
715
|
+
|
716
|
+
def get_current_style() -> Style:
|
717
|
+
"""Construct current style from stack."""
|
718
|
+
styles = tuple(style_map[_style_id] for _style_id in sorted(stack))
|
719
|
+
cached_style = style_cache_get(styles)
|
720
|
+
if cached_style is not None:
|
721
|
+
return cached_style
|
722
|
+
current_style = combine(styles)
|
723
|
+
style_cache[styles] = current_style
|
724
|
+
return current_style
|
725
|
+
|
726
|
+
for (offset, leaving, style_id), (next_offset, _, _) in zip(spans, spans[1:]):
|
727
|
+
if leaving:
|
728
|
+
stack_pop(style_id)
|
729
|
+
else:
|
730
|
+
stack_append(style_id)
|
731
|
+
if next_offset > offset:
|
732
|
+
yield _Segment(text[offset:next_offset], get_current_style())
|
733
|
+
if end:
|
734
|
+
yield _Segment(end)
|
735
|
+
|
736
|
+
def join(self, lines: Iterable["Text"]) -> "Text":
|
737
|
+
"""Join text together with this instance as the separator.
|
738
|
+
|
739
|
+
Args:
|
740
|
+
lines (Iterable[Text]): An iterable of Text instances to join.
|
741
|
+
|
742
|
+
Returns:
|
743
|
+
Text: A new text instance containing join text.
|
744
|
+
"""
|
745
|
+
|
746
|
+
new_text = self.blank_copy()
|
747
|
+
|
748
|
+
def iter_text() -> Iterable["Text"]:
|
749
|
+
if self.plain:
|
750
|
+
for last, line in loop_last(lines):
|
751
|
+
yield line
|
752
|
+
if not last:
|
753
|
+
yield self
|
754
|
+
else:
|
755
|
+
yield from lines
|
756
|
+
|
757
|
+
extend_text = new_text._text.extend
|
758
|
+
append_span = new_text._spans.append
|
759
|
+
extend_spans = new_text._spans.extend
|
760
|
+
offset = 0
|
761
|
+
_Span = Span
|
762
|
+
|
763
|
+
for text in iter_text():
|
764
|
+
extend_text(text._text)
|
765
|
+
if text.style:
|
766
|
+
append_span(_Span(offset, offset + len(text), text.style))
|
767
|
+
extend_spans(
|
768
|
+
_Span(offset + start, offset + end, style)
|
769
|
+
for start, end, style in text._spans
|
770
|
+
)
|
771
|
+
offset += len(text)
|
772
|
+
new_text._length = offset
|
773
|
+
return new_text
|
774
|
+
|
775
|
+
def expand_tabs(self, tab_size: Optional[int] = None) -> None:
|
776
|
+
"""Converts tabs to spaces.
|
777
|
+
|
778
|
+
Args:
|
779
|
+
tab_size (int, optional): Size of tabs. Defaults to 8.
|
780
|
+
|
781
|
+
"""
|
782
|
+
if "\t" not in self.plain:
|
783
|
+
return
|
784
|
+
pos = 0
|
785
|
+
if tab_size is None:
|
786
|
+
tab_size = self.tab_size
|
787
|
+
assert tab_size is not None
|
788
|
+
result = self.blank_copy()
|
789
|
+
append = result.append
|
790
|
+
|
791
|
+
_style = self.style
|
792
|
+
for line in self.split("\n", include_separator=True):
|
793
|
+
parts = line.split("\t", include_separator=True)
|
794
|
+
for part in parts:
|
795
|
+
if part.plain.endswith("\t"):
|
796
|
+
part._text = [part.plain[:-1] + " "]
|
797
|
+
append(part)
|
798
|
+
pos += len(part)
|
799
|
+
spaces = tab_size - ((pos - 1) % tab_size) - 1
|
800
|
+
if spaces:
|
801
|
+
append(" " * spaces, _style)
|
802
|
+
pos += spaces
|
803
|
+
else:
|
804
|
+
append(part)
|
805
|
+
self._text = [result.plain]
|
806
|
+
self._length = len(self.plain)
|
807
|
+
self._spans[:] = result._spans
|
808
|
+
|
809
|
+
def truncate(
|
810
|
+
self,
|
811
|
+
max_width: int,
|
812
|
+
*,
|
813
|
+
overflow: Optional["OverflowMethod"] = None,
|
814
|
+
pad: bool = False,
|
815
|
+
) -> None:
|
816
|
+
"""Truncate text if it is longer that a given width.
|
817
|
+
|
818
|
+
Args:
|
819
|
+
max_width (int): Maximum number of characters in text.
|
820
|
+
overflow (str, optional): Overflow method: "crop", "fold", or "ellipsis". Defaults to None, to use self.overflow.
|
821
|
+
pad (bool, optional): Pad with spaces if the length is less than max_width. Defaults to False.
|
822
|
+
"""
|
823
|
+
_overflow = overflow or self.overflow or DEFAULT_OVERFLOW
|
824
|
+
if _overflow != "ignore":
|
825
|
+
length = cell_len(self.plain)
|
826
|
+
if length > max_width:
|
827
|
+
if _overflow == "ellipsis":
|
828
|
+
self.plain = set_cell_size(self.plain, max_width - 1) + "…"
|
829
|
+
else:
|
830
|
+
self.plain = set_cell_size(self.plain, max_width)
|
831
|
+
if pad and length < max_width:
|
832
|
+
spaces = max_width - length
|
833
|
+
self._text = [f"{self.plain}{' ' * spaces}"]
|
834
|
+
self._length = len(self.plain)
|
835
|
+
|
836
|
+
def _trim_spans(self) -> None:
|
837
|
+
"""Remove or modify any spans that are over the end of the text."""
|
838
|
+
max_offset = len(self.plain)
|
839
|
+
_Span = Span
|
840
|
+
self._spans[:] = [
|
841
|
+
(
|
842
|
+
span
|
843
|
+
if span.end < max_offset
|
844
|
+
else _Span(span.start, min(max_offset, span.end), span.style)
|
845
|
+
)
|
846
|
+
for span in self._spans
|
847
|
+
if span.start < max_offset
|
848
|
+
]
|
849
|
+
|
850
|
+
def pad(self, count: int, character: str = " ") -> None:
|
851
|
+
"""Pad left and right with a given number of characters.
|
852
|
+
|
853
|
+
Args:
|
854
|
+
count (int): Width of padding.
|
855
|
+
"""
|
856
|
+
assert len(character) == 1, "Character must be a string of length 1"
|
857
|
+
if count:
|
858
|
+
pad_characters = character * count
|
859
|
+
self.plain = f"{pad_characters}{self.plain}{pad_characters}"
|
860
|
+
_Span = Span
|
861
|
+
self._spans[:] = [
|
862
|
+
_Span(start + count, end + count, style)
|
863
|
+
for start, end, style in self._spans
|
864
|
+
]
|
865
|
+
|
866
|
+
def pad_left(self, count: int, character: str = " ") -> None:
|
867
|
+
"""Pad the left with a given character.
|
868
|
+
|
869
|
+
Args:
|
870
|
+
count (int): Number of characters to pad.
|
871
|
+
character (str, optional): Character to pad with. Defaults to " ".
|
872
|
+
"""
|
873
|
+
assert len(character) == 1, "Character must be a string of length 1"
|
874
|
+
if count:
|
875
|
+
self.plain = f"{character * count}{self.plain}"
|
876
|
+
_Span = Span
|
877
|
+
self._spans[:] = [
|
878
|
+
_Span(start + count, end + count, style)
|
879
|
+
for start, end, style in self._spans
|
880
|
+
]
|
881
|
+
|
882
|
+
def pad_right(self, count: int, character: str = " ") -> None:
|
883
|
+
"""Pad the right with a given character.
|
884
|
+
|
885
|
+
Args:
|
886
|
+
count (int): Number of characters to pad.
|
887
|
+
character (str, optional): Character to pad with. Defaults to " ".
|
888
|
+
"""
|
889
|
+
assert len(character) == 1, "Character must be a string of length 1"
|
890
|
+
if count:
|
891
|
+
self.plain = f"{self.plain}{character * count}"
|
892
|
+
|
893
|
+
def align(self, align: AlignMethod, width: int, character: str = " ") -> None:
|
894
|
+
"""Align text to a given width.
|
895
|
+
|
896
|
+
Args:
|
897
|
+
align (AlignMethod): One of "left", "center", or "right".
|
898
|
+
width (int): Desired width.
|
899
|
+
character (str, optional): Character to pad with. Defaults to " ".
|
900
|
+
"""
|
901
|
+
self.truncate(width)
|
902
|
+
excess_space = width - cell_len(self.plain)
|
903
|
+
if excess_space:
|
904
|
+
if align == "left":
|
905
|
+
self.pad_right(excess_space, character)
|
906
|
+
elif align == "center":
|
907
|
+
left = excess_space // 2
|
908
|
+
self.pad_left(left, character)
|
909
|
+
self.pad_right(excess_space - left, character)
|
910
|
+
else:
|
911
|
+
self.pad_left(excess_space, character)
|
912
|
+
|
913
|
+
def append(
|
914
|
+
self, text: Union["Text", str], style: Optional[Union[str, "Style"]] = None
|
915
|
+
) -> "Text":
|
916
|
+
"""Add text with an optional style.
|
917
|
+
|
918
|
+
Args:
|
919
|
+
text (Union[Text, str]): A str or Text to append.
|
920
|
+
style (str, optional): A style name. Defaults to None.
|
921
|
+
|
922
|
+
Returns:
|
923
|
+
Text: Returns self for chaining.
|
924
|
+
"""
|
925
|
+
|
926
|
+
if not isinstance(text, (str, Text)):
|
927
|
+
raise TypeError("Only str or Text can be appended to Text")
|
928
|
+
|
929
|
+
if len(text):
|
930
|
+
if isinstance(text, str):
|
931
|
+
sanitized_text = strip_control_codes(text)
|
932
|
+
self._text.append(sanitized_text)
|
933
|
+
offset = len(self)
|
934
|
+
text_length = len(sanitized_text)
|
935
|
+
if style is not None:
|
936
|
+
self._spans.append(Span(offset, offset + text_length, style))
|
937
|
+
self._length += text_length
|
938
|
+
elif isinstance(text, Text):
|
939
|
+
_Span = Span
|
940
|
+
if style is not None:
|
941
|
+
raise ValueError(
|
942
|
+
"style must not be set when appending Text instance"
|
943
|
+
)
|
944
|
+
text_length = self._length
|
945
|
+
if text.style is not None:
|
946
|
+
self._spans.append(
|
947
|
+
_Span(text_length, text_length + len(text), text.style)
|
948
|
+
)
|
949
|
+
self._text.append(text.plain)
|
950
|
+
self._spans.extend(
|
951
|
+
_Span(start + text_length, end + text_length, style)
|
952
|
+
for start, end, style in text._spans
|
953
|
+
)
|
954
|
+
self._length += len(text)
|
955
|
+
return self
|
956
|
+
|
957
|
+
def append_text(self, text: "Text") -> "Text":
|
958
|
+
"""Append another Text instance. This method is more performant that Text.append, but
|
959
|
+
only works for Text.
|
960
|
+
|
961
|
+
Returns:
|
962
|
+
Text: Returns self for chaining.
|
963
|
+
"""
|
964
|
+
_Span = Span
|
965
|
+
text_length = self._length
|
966
|
+
if text.style is not None:
|
967
|
+
self._spans.append(_Span(text_length, text_length + len(text), text.style))
|
968
|
+
self._text.append(text.plain)
|
969
|
+
self._spans.extend(
|
970
|
+
_Span(start + text_length, end + text_length, style)
|
971
|
+
for start, end, style in text._spans
|
972
|
+
)
|
973
|
+
self._length += len(text)
|
974
|
+
return self
|
975
|
+
|
976
|
+
def append_tokens(
|
977
|
+
self, tokens: Iterable[Tuple[str, Optional[StyleType]]]
|
978
|
+
) -> "Text":
|
979
|
+
"""Append iterable of str and style. Style may be a Style instance or a str style definition.
|
980
|
+
|
981
|
+
Args:
|
982
|
+
pairs (Iterable[Tuple[str, Optional[StyleType]]]): An iterable of tuples containing str content and style.
|
983
|
+
|
984
|
+
Returns:
|
985
|
+
Text: Returns self for chaining.
|
986
|
+
"""
|
987
|
+
append_text = self._text.append
|
988
|
+
append_span = self._spans.append
|
989
|
+
_Span = Span
|
990
|
+
offset = len(self)
|
991
|
+
for content, style in tokens:
|
992
|
+
append_text(content)
|
993
|
+
if style is not None:
|
994
|
+
append_span(_Span(offset, offset + len(content), style))
|
995
|
+
offset += len(content)
|
996
|
+
self._length = offset
|
997
|
+
return self
|
998
|
+
|
999
|
+
def copy_styles(self, text: "Text") -> None:
|
1000
|
+
"""Copy styles from another Text instance.
|
1001
|
+
|
1002
|
+
Args:
|
1003
|
+
text (Text): A Text instance to copy styles from, must be the same length.
|
1004
|
+
"""
|
1005
|
+
self._spans.extend(text._spans)
|
1006
|
+
|
1007
|
+
def split(
|
1008
|
+
self,
|
1009
|
+
separator: str = "\n",
|
1010
|
+
*,
|
1011
|
+
include_separator: bool = False,
|
1012
|
+
allow_blank: bool = False,
|
1013
|
+
) -> Lines:
|
1014
|
+
"""Split rich text in to lines, preserving styles.
|
1015
|
+
|
1016
|
+
Args:
|
1017
|
+
separator (str, optional): String to split on. Defaults to "\\\\n".
|
1018
|
+
include_separator (bool, optional): Include the separator in the lines. Defaults to False.
|
1019
|
+
allow_blank (bool, optional): Return a blank line if the text ends with a separator. Defaults to False.
|
1020
|
+
|
1021
|
+
Returns:
|
1022
|
+
List[RichText]: A list of rich text, one per line of the original.
|
1023
|
+
"""
|
1024
|
+
assert separator, "separator must not be empty"
|
1025
|
+
|
1026
|
+
text = self.plain
|
1027
|
+
if separator not in text:
|
1028
|
+
return Lines([self.copy()])
|
1029
|
+
|
1030
|
+
if include_separator:
|
1031
|
+
lines = self.divide(
|
1032
|
+
match.end() for match in re.finditer(re.escape(separator), text)
|
1033
|
+
)
|
1034
|
+
else:
|
1035
|
+
|
1036
|
+
def flatten_spans() -> Iterable[int]:
|
1037
|
+
for match in re.finditer(re.escape(separator), text):
|
1038
|
+
start, end = match.span()
|
1039
|
+
yield start
|
1040
|
+
yield end
|
1041
|
+
|
1042
|
+
lines = Lines(
|
1043
|
+
line for line in self.divide(flatten_spans()) if line.plain != separator
|
1044
|
+
)
|
1045
|
+
|
1046
|
+
if not allow_blank and text.endswith(separator):
|
1047
|
+
lines.pop()
|
1048
|
+
|
1049
|
+
return lines
|
1050
|
+
|
1051
|
+
def divide(self, offsets: Iterable[int]) -> Lines:
|
1052
|
+
"""Divide text in to a number of lines at given offsets.
|
1053
|
+
|
1054
|
+
Args:
|
1055
|
+
offsets (Iterable[int]): Offsets used to divide text.
|
1056
|
+
|
1057
|
+
Returns:
|
1058
|
+
Lines: New RichText instances between offsets.
|
1059
|
+
"""
|
1060
|
+
_offsets = list(offsets)
|
1061
|
+
|
1062
|
+
if not _offsets:
|
1063
|
+
return Lines([self.copy()])
|
1064
|
+
|
1065
|
+
text = self.plain
|
1066
|
+
text_length = len(text)
|
1067
|
+
divide_offsets = [0, *_offsets, text_length]
|
1068
|
+
line_ranges = list(zip(divide_offsets, divide_offsets[1:]))
|
1069
|
+
|
1070
|
+
style = self.style
|
1071
|
+
justify = self.justify
|
1072
|
+
overflow = self.overflow
|
1073
|
+
_Text = Text
|
1074
|
+
new_lines = Lines(
|
1075
|
+
_Text(
|
1076
|
+
text[start:end],
|
1077
|
+
style=style,
|
1078
|
+
justify=justify,
|
1079
|
+
overflow=overflow,
|
1080
|
+
)
|
1081
|
+
for start, end in line_ranges
|
1082
|
+
)
|
1083
|
+
if not self._spans:
|
1084
|
+
return new_lines
|
1085
|
+
|
1086
|
+
_line_appends = [line._spans.append for line in new_lines._lines]
|
1087
|
+
line_count = len(line_ranges)
|
1088
|
+
_Span = Span
|
1089
|
+
|
1090
|
+
for span_start, span_end, style in self._spans:
|
1091
|
+
|
1092
|
+
lower_bound = 0
|
1093
|
+
upper_bound = line_count
|
1094
|
+
start_line_no = (lower_bound + upper_bound) // 2
|
1095
|
+
|
1096
|
+
while True:
|
1097
|
+
line_start, line_end = line_ranges[start_line_no]
|
1098
|
+
if span_start < line_start:
|
1099
|
+
upper_bound = start_line_no - 1
|
1100
|
+
elif span_start > line_end:
|
1101
|
+
lower_bound = start_line_no + 1
|
1102
|
+
else:
|
1103
|
+
break
|
1104
|
+
start_line_no = (lower_bound + upper_bound) // 2
|
1105
|
+
|
1106
|
+
if span_end < line_end:
|
1107
|
+
end_line_no = start_line_no
|
1108
|
+
else:
|
1109
|
+
end_line_no = lower_bound = start_line_no
|
1110
|
+
upper_bound = line_count
|
1111
|
+
|
1112
|
+
while True:
|
1113
|
+
line_start, line_end = line_ranges[end_line_no]
|
1114
|
+
if span_end < line_start:
|
1115
|
+
upper_bound = end_line_no - 1
|
1116
|
+
elif span_end > line_end:
|
1117
|
+
lower_bound = end_line_no + 1
|
1118
|
+
else:
|
1119
|
+
break
|
1120
|
+
end_line_no = (lower_bound + upper_bound) // 2
|
1121
|
+
|
1122
|
+
for line_no in range(start_line_no, end_line_no + 1):
|
1123
|
+
line_start, line_end = line_ranges[line_no]
|
1124
|
+
new_start = max(0, span_start - line_start)
|
1125
|
+
new_end = min(span_end - line_start, line_end - line_start)
|
1126
|
+
if new_end > new_start:
|
1127
|
+
_line_appends[line_no](_Span(new_start, new_end, style))
|
1128
|
+
|
1129
|
+
return new_lines
|
1130
|
+
|
1131
|
+
def right_crop(self, amount: int = 1) -> None:
|
1132
|
+
"""Remove a number of characters from the end of the text."""
|
1133
|
+
max_offset = len(self.plain) - amount
|
1134
|
+
_Span = Span
|
1135
|
+
self._spans[:] = [
|
1136
|
+
(
|
1137
|
+
span
|
1138
|
+
if span.end < max_offset
|
1139
|
+
else _Span(span.start, min(max_offset, span.end), span.style)
|
1140
|
+
)
|
1141
|
+
for span in self._spans
|
1142
|
+
if span.start < max_offset
|
1143
|
+
]
|
1144
|
+
self._text = [self.plain[:-amount]]
|
1145
|
+
self._length -= amount
|
1146
|
+
|
1147
|
+
def wrap(
|
1148
|
+
self,
|
1149
|
+
console: "Console",
|
1150
|
+
width: int,
|
1151
|
+
*,
|
1152
|
+
justify: Optional["JustifyMethod"] = None,
|
1153
|
+
overflow: Optional["OverflowMethod"] = None,
|
1154
|
+
tab_size: int = 8,
|
1155
|
+
no_wrap: Optional[bool] = None,
|
1156
|
+
) -> Lines:
|
1157
|
+
"""Word wrap the text.
|
1158
|
+
|
1159
|
+
Args:
|
1160
|
+
console (Console): Console instance.
|
1161
|
+
width (int): Number of characters per line.
|
1162
|
+
emoji (bool, optional): Also render emoji code. Defaults to True.
|
1163
|
+
justify (str, optional): Justify method: "default", "left", "center", "full", "right". Defaults to "default".
|
1164
|
+
overflow (str, optional): Overflow method: "crop", "fold", or "ellipsis". Defaults to None.
|
1165
|
+
tab_size (int, optional): Default tab size. Defaults to 8.
|
1166
|
+
no_wrap (bool, optional): Disable wrapping, Defaults to False.
|
1167
|
+
|
1168
|
+
Returns:
|
1169
|
+
Lines: Number of lines.
|
1170
|
+
"""
|
1171
|
+
wrap_justify = justify or self.justify or DEFAULT_JUSTIFY
|
1172
|
+
wrap_overflow = overflow or self.overflow or DEFAULT_OVERFLOW
|
1173
|
+
|
1174
|
+
no_wrap = pick_bool(no_wrap, self.no_wrap, False) or overflow == "ignore"
|
1175
|
+
|
1176
|
+
lines = Lines()
|
1177
|
+
for line in self.split(allow_blank=True):
|
1178
|
+
if "\t" in line:
|
1179
|
+
line.expand_tabs(tab_size)
|
1180
|
+
if no_wrap:
|
1181
|
+
new_lines = Lines([line])
|
1182
|
+
else:
|
1183
|
+
offsets = divide_line(str(line), width, fold=wrap_overflow == "fold")
|
1184
|
+
new_lines = line.divide(offsets)
|
1185
|
+
for line in new_lines:
|
1186
|
+
line.rstrip_end(width)
|
1187
|
+
if wrap_justify:
|
1188
|
+
new_lines.justify(
|
1189
|
+
console, width, justify=wrap_justify, overflow=wrap_overflow
|
1190
|
+
)
|
1191
|
+
for line in new_lines:
|
1192
|
+
line.truncate(width, overflow=wrap_overflow)
|
1193
|
+
lines.extend(new_lines)
|
1194
|
+
return lines
|
1195
|
+
|
1196
|
+
def fit(self, width: int) -> Lines:
|
1197
|
+
"""Fit the text in to given width by chopping in to lines.
|
1198
|
+
|
1199
|
+
Args:
|
1200
|
+
width (int): Maximum characters in a line.
|
1201
|
+
|
1202
|
+
Returns:
|
1203
|
+
Lines: Lines container.
|
1204
|
+
"""
|
1205
|
+
lines: Lines = Lines()
|
1206
|
+
append = lines.append
|
1207
|
+
for line in self.split():
|
1208
|
+
line.set_length(width)
|
1209
|
+
append(line)
|
1210
|
+
return lines
|
1211
|
+
|
1212
|
+
def detect_indentation(self) -> int:
|
1213
|
+
"""Auto-detect indentation of code.
|
1214
|
+
|
1215
|
+
Returns:
|
1216
|
+
int: Number of spaces used to indent code.
|
1217
|
+
"""
|
1218
|
+
|
1219
|
+
_indentations = {
|
1220
|
+
len(match.group(1))
|
1221
|
+
for match in re.finditer(r"^( *)(.*)$", self.plain, flags=re.MULTILINE)
|
1222
|
+
}
|
1223
|
+
|
1224
|
+
try:
|
1225
|
+
indentation = (
|
1226
|
+
reduce(gcd, [indent for indent in _indentations if not indent % 2]) or 1
|
1227
|
+
)
|
1228
|
+
except TypeError:
|
1229
|
+
indentation = 1
|
1230
|
+
|
1231
|
+
return indentation
|
1232
|
+
|
1233
|
+
def with_indent_guides(
|
1234
|
+
self,
|
1235
|
+
indent_size: Optional[int] = None,
|
1236
|
+
*,
|
1237
|
+
character: str = "│",
|
1238
|
+
style: StyleType = "dim green",
|
1239
|
+
) -> "Text":
|
1240
|
+
"""Adds indent guide lines to text.
|
1241
|
+
|
1242
|
+
Args:
|
1243
|
+
indent_size (Optional[int]): Size of indentation, or None to auto detect. Defaults to None.
|
1244
|
+
character (str, optional): Character to use for indentation. Defaults to "│".
|
1245
|
+
style (Union[Style, str], optional): Style of indent guides.
|
1246
|
+
|
1247
|
+
Returns:
|
1248
|
+
Text: New text with indentation guides.
|
1249
|
+
"""
|
1250
|
+
|
1251
|
+
_indent_size = self.detect_indentation() if indent_size is None else indent_size
|
1252
|
+
|
1253
|
+
text = self.copy()
|
1254
|
+
text.expand_tabs()
|
1255
|
+
indent_line = f"{character}{' ' * (_indent_size - 1)}"
|
1256
|
+
|
1257
|
+
re_indent = re.compile(r"^( *)(.*)$")
|
1258
|
+
new_lines: List[Text] = []
|
1259
|
+
add_line = new_lines.append
|
1260
|
+
blank_lines = 0
|
1261
|
+
for line in text.split(allow_blank=True):
|
1262
|
+
match = re_indent.match(line.plain)
|
1263
|
+
if not match or not match.group(2):
|
1264
|
+
blank_lines += 1
|
1265
|
+
continue
|
1266
|
+
indent = match.group(1)
|
1267
|
+
full_indents, remaining_space = divmod(len(indent), _indent_size)
|
1268
|
+
new_indent = f"{indent_line * full_indents}{' ' * remaining_space}"
|
1269
|
+
line.plain = new_indent + line.plain[len(new_indent) :]
|
1270
|
+
line.stylize(style, 0, len(new_indent))
|
1271
|
+
if blank_lines:
|
1272
|
+
new_lines.extend([Text(new_indent, style=style)] * blank_lines)
|
1273
|
+
blank_lines = 0
|
1274
|
+
add_line(line)
|
1275
|
+
if blank_lines:
|
1276
|
+
new_lines.extend([Text("", style=style)] * blank_lines)
|
1277
|
+
|
1278
|
+
new_text = text.blank_copy("\n").join(new_lines)
|
1279
|
+
return new_text
|
1280
|
+
|
1281
|
+
|
1282
|
+
if __name__ == "__main__": # pragma: no cover
|
1283
|
+
from pip._vendor.rich.console import Console
|
1284
|
+
|
1285
|
+
text = Text(
|
1286
|
+
"""\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n"""
|
1287
|
+
)
|
1288
|
+
text.highlight_words(["Lorem"], "bold")
|
1289
|
+
text.highlight_words(["ipsum"], "italic")
|
1290
|
+
|
1291
|
+
console = Console()
|
1292
|
+
|
1293
|
+
console.rule("justify='left'")
|
1294
|
+
console.print(text, style="red")
|
1295
|
+
console.print()
|
1296
|
+
|
1297
|
+
console.rule("justify='center'")
|
1298
|
+
console.print(text, style="green", justify="center")
|
1299
|
+
console.print()
|
1300
|
+
|
1301
|
+
console.rule("justify='right'")
|
1302
|
+
console.print(text, style="blue", justify="right")
|
1303
|
+
console.print()
|
1304
|
+
|
1305
|
+
console.rule("justify='full'")
|
1306
|
+
console.print(text, style="magenta", justify="full")
|
1307
|
+
console.print()
|