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,1430 @@
|
|
1
|
+
#!/usr/bin/env python3
|
2
|
+
# :Id: $Id: latex2mathml.py 9029 2022-03-05 23:27:50Z milde $
|
3
|
+
# :Copyright: © 2005 Jens Jørgen Mortensen [1]_
|
4
|
+
# © 2010, 2021 Günter Milde.
|
5
|
+
#
|
6
|
+
# :License: Released under the terms of the `2-Clause BSD license`_, in short:
|
7
|
+
#
|
8
|
+
# Copying and distribution of this file, with or without modification,
|
9
|
+
# are permitted in any medium without royalty provided the copyright
|
10
|
+
# notice and this notice are preserved.
|
11
|
+
# This file is offered as-is, without any warranty.
|
12
|
+
#
|
13
|
+
# .. _2-Clause BSD license: https://opensource.org/licenses/BSD-2-Clause
|
14
|
+
#
|
15
|
+
# .. [1] the original `rst2mathml.py` in `sandbox/jensj/latex_math`
|
16
|
+
|
17
|
+
"""Convert LaTex maths code into presentational MathML.
|
18
|
+
|
19
|
+
This module is provisional:
|
20
|
+
the API is not settled and may change with any minor Docutils version.
|
21
|
+
"""
|
22
|
+
|
23
|
+
# Usage:
|
24
|
+
#
|
25
|
+
# >>> from latex2mathml import *
|
26
|
+
|
27
|
+
import re
|
28
|
+
import unicodedata
|
29
|
+
|
30
|
+
from docutils.utils.math import tex2unichar, toplevel_code
|
31
|
+
|
32
|
+
|
33
|
+
# Character data
|
34
|
+
# --------------
|
35
|
+
|
36
|
+
# LaTeX math macro to Unicode mappings.
|
37
|
+
# Character categories.
|
38
|
+
|
39
|
+
# identifiers -> <mi>
|
40
|
+
|
41
|
+
letters = tex2unichar.mathalpha
|
42
|
+
letters['hbar'] = '\u210F' # compatibility mapping to ℏ (\hslash).
|
43
|
+
# (ħ LATIN SMALL LETTER H WITH STROKE is upright)
|
44
|
+
|
45
|
+
# special case: Capital Greek letters: (upright in TeX style)
|
46
|
+
greek_capitals = {
|
47
|
+
'Phi': '\u03a6', 'Xi': '\u039e', 'Sigma': '\u03a3',
|
48
|
+
'Psi': '\u03a8', 'Delta': '\u0394', 'Theta': '\u0398',
|
49
|
+
'Upsilon': '\u03d2', 'Pi': '\u03a0', 'Omega': '\u03a9',
|
50
|
+
'Gamma': '\u0393', 'Lambda': '\u039b'}
|
51
|
+
|
52
|
+
# functions -> <mi>
|
53
|
+
functions = {# functions with a space in the name
|
54
|
+
'liminf': 'lim\u202finf',
|
55
|
+
'limsup': 'lim\u202fsup',
|
56
|
+
'injlim': 'inj\u202flim',
|
57
|
+
'projlim': 'proj\u202flim',
|
58
|
+
# embellished function names (see handle_cmd() below)
|
59
|
+
'varlimsup': 'lim',
|
60
|
+
'varliminf': 'lim',
|
61
|
+
'varprojlim': 'lim',
|
62
|
+
'varinjlim': 'lim',
|
63
|
+
# custom function name
|
64
|
+
'operatorname': None,
|
65
|
+
}
|
66
|
+
functions.update((name, name) for name in
|
67
|
+
('arccos', 'arcsin', 'arctan', 'arg', 'cos',
|
68
|
+
'cosh', 'cot', 'coth', 'csc', 'deg',
|
69
|
+
'det', 'dim', 'exp', 'gcd', 'hom',
|
70
|
+
'ker', 'lg', 'ln', 'log', 'Pr',
|
71
|
+
'sec', 'sin', 'sinh', 'tan', 'tanh'))
|
72
|
+
# Function with limits: 'lim', 'sup', 'inf', 'max', 'min':
|
73
|
+
# use <mo> to allow "movablelimits" attribute (see below).
|
74
|
+
|
75
|
+
|
76
|
+
# math font selection -> <mi mathvariant=...> or <mstyle mathvariant=...>
|
77
|
+
math_alphabets = {# 'cmdname': 'mathvariant value' # package
|
78
|
+
'boldsymbol': 'bold',
|
79
|
+
'mathbf': 'bold',
|
80
|
+
'mathit': 'italic',
|
81
|
+
'mathtt': 'monospace',
|
82
|
+
'mathrm': 'normal',
|
83
|
+
'mathsf': 'sans-serif',
|
84
|
+
'mathcal': 'script',
|
85
|
+
'mathbfit': 'bold-italic', # isomath
|
86
|
+
'mathbb': 'double-struck', # amssymb
|
87
|
+
'mathfrak': 'fraktur', # amssymb
|
88
|
+
'mathsfit': 'sans-serif-italic', # isomath
|
89
|
+
'mathsfbfit': 'sans-serif-bold-italic', # isomath
|
90
|
+
'mathscr': 'script', # mathrsfs
|
91
|
+
# unsupported: bold-fraktur
|
92
|
+
# bold-script
|
93
|
+
# bold-sans-serif
|
94
|
+
}
|
95
|
+
|
96
|
+
# operator, fence, or separator -> <mo>
|
97
|
+
|
98
|
+
|
99
|
+
stretchables = {# extensible delimiters allowed in left/right cmds
|
100
|
+
'backslash': '\\',
|
101
|
+
'uparrow': '\u2191', # ↑ UPWARDS ARROW
|
102
|
+
'downarrow': '\u2193', # ↓ DOWNWARDS ARROW
|
103
|
+
'updownarrow': '\u2195', # ↕ UP DOWN ARROW
|
104
|
+
'Uparrow': '\u21d1', # ⇑ UPWARDS DOUBLE ARROW
|
105
|
+
'Downarrow': '\u21d3', # ⇓ DOWNWARDS DOUBLE ARROW
|
106
|
+
'Updownarrow': '\u21d5', # ⇕ UP DOWN DOUBLE ARROW
|
107
|
+
'lmoustache': '\u23b0', # ⎰ … CURLY BRACKET SECTION
|
108
|
+
'rmoustache': '\u23b1', # ⎱ … LEFT CURLY BRACKET SECTION
|
109
|
+
'arrowvert': '\u23d0', # ⏐ VERTICAL LINE EXTENSION
|
110
|
+
'bracevert': '\u23aa', # ⎪ CURLY BRACKET EXTENSION
|
111
|
+
'lvert': '|', # left |
|
112
|
+
'lVert': '\u2016', # left ‖
|
113
|
+
'rvert': '|', # right |
|
114
|
+
'rVert': '\u2016', # right ‖
|
115
|
+
'Arrowvert': '\u2016', # ‖
|
116
|
+
}
|
117
|
+
stretchables.update(tex2unichar.mathfence)
|
118
|
+
stretchables.update(tex2unichar.mathopen) # Braces
|
119
|
+
stretchables.update(tex2unichar.mathclose) # Braces
|
120
|
+
|
121
|
+
# >>> print(' '.join(sorted(set(stretchables.values()))))
|
122
|
+
# [ \ ] { | } ‖ ↑ ↓ ↕ ⇑ ⇓ ⇕ ⌈ ⌉ ⌊ ⌋ ⌜ ⌝ ⌞ ⌟ ⎪ ⎰ ⎱ ⏐ ⟅ ⟆ ⟦ ⟧ ⟨ ⟩ ⟮ ⟯ ⦇ ⦈
|
123
|
+
|
124
|
+
operators = {# negated symbols without pre-composed Unicode character
|
125
|
+
'nleqq': '\u2266\u0338', # ≦̸
|
126
|
+
'ngeqq': '\u2267\u0338', # ≧̸
|
127
|
+
'nleqslant': '\u2a7d\u0338', # ⩽̸
|
128
|
+
'ngeqslant': '\u2a7e\u0338', # ⩾̸
|
129
|
+
'ngtrless': '\u2277\u0338', # txfonts
|
130
|
+
'nlessgtr': '\u2276\u0338', # txfonts
|
131
|
+
'nsubseteqq': '\u2AC5\u0338', # ⫅̸
|
132
|
+
'nsupseteqq': '\u2AC6\u0338', # ⫆̸
|
133
|
+
# compatibility definitions:
|
134
|
+
'centerdot': '\u2B1D', # BLACK VERY SMALL SQUARE | mathbin
|
135
|
+
'varnothing': '\u2300', # ⌀ DIAMETER SIGN | empty set
|
136
|
+
'varpropto': '\u221d', # ∝ PROPORTIONAL TO | sans serif
|
137
|
+
'triangle': '\u25B3', # WHITE UP-POINTING TRIANGLE | mathord
|
138
|
+
'triangledown': '\u25BD', # WHITE DOWN-POINTING TRIANGLE | mathord
|
139
|
+
# alias commands:
|
140
|
+
'dotsb': '\u22ef', # ⋯ with binary operators/relations
|
141
|
+
'dotsc': '\u2026', # … with commas
|
142
|
+
'dotsi': '\u22ef', # ⋯ with integrals
|
143
|
+
'dotsm': '\u22ef', # ⋯ multiplication dots
|
144
|
+
'dotso': '\u2026', # … other dots
|
145
|
+
# functions with movable limits (requires <mo>)
|
146
|
+
'lim': 'lim',
|
147
|
+
'sup': 'sup',
|
148
|
+
'inf': 'inf',
|
149
|
+
'max': 'max',
|
150
|
+
'min': 'min',
|
151
|
+
}
|
152
|
+
operators.update(tex2unichar.mathbin) # Binary symbols
|
153
|
+
operators.update(tex2unichar.mathrel) # Relation symbols, arrow symbols
|
154
|
+
operators.update(tex2unichar.mathord) # Miscellaneous symbols
|
155
|
+
operators.update(tex2unichar.mathpunct) # Punctuation
|
156
|
+
operators.update(tex2unichar.mathop) # Variable-sized symbols
|
157
|
+
operators.update(stretchables)
|
158
|
+
|
159
|
+
|
160
|
+
# special cases
|
161
|
+
|
162
|
+
thick_operators = {# style='font-weight: bold;'
|
163
|
+
'thicksim': '\u223C', # ∼
|
164
|
+
'thickapprox': '\u2248', # ≈
|
165
|
+
}
|
166
|
+
|
167
|
+
small_operators = {# mathsize='75%'
|
168
|
+
'shortmid': '\u2223', # ∣
|
169
|
+
'shortparallel': '\u2225', # ∥
|
170
|
+
'nshortmid': '\u2224', # ∤
|
171
|
+
'nshortparallel': '\u2226', # ∦
|
172
|
+
'smallfrown': '\u2322', # ⌢ FROWN
|
173
|
+
'smallsmile': '\u2323', # ⌣ SMILE
|
174
|
+
'smallint': '\u222b', # ∫ INTEGRAL
|
175
|
+
}
|
176
|
+
|
177
|
+
# Operators and functions with limits above/below in display formulas
|
178
|
+
# and in index position inline (movablelimits=True)
|
179
|
+
movablelimits = ('bigcap', 'bigcup', 'bigodot', 'bigoplus', 'bigotimes',
|
180
|
+
'bigsqcup', 'biguplus', 'bigvee', 'bigwedge',
|
181
|
+
'coprod', 'intop', 'ointop', 'prod', 'sum',
|
182
|
+
'lim', 'max', 'min', 'sup', 'inf')
|
183
|
+
# Depending on settings, integrals may also be in this category.
|
184
|
+
# (e.g. if "amsmath" is loaded with option "intlimits", see
|
185
|
+
# http://mirror.ctan.org/macros/latex/required/amsmath/amsldoc.pdf)
|
186
|
+
# movablelimits.extend(('fint', 'iiiint', 'iiint', 'iint', 'int', 'oiint',
|
187
|
+
# 'oint', 'ointctrclockwise', 'sqint',
|
188
|
+
# 'varointclockwise',))
|
189
|
+
|
190
|
+
# horizontal space -> <mspace>
|
191
|
+
|
192
|
+
spaces = {'qquad': '2em', # two \quad
|
193
|
+
'quad': '1em', # 18 mu
|
194
|
+
'thickspace': '0.2778em', # 5mu = 5/18em
|
195
|
+
'medspace': '0.2222em', # 4mu = 2/9em
|
196
|
+
'thinspace': '0.1667em', # 3mu = 1/6em
|
197
|
+
'negthinspace': '-0.1667em', # -3mu = -1/6em
|
198
|
+
'negmedspace': '-0.2222em', # -4mu = -2/9em
|
199
|
+
'negthickspace': '-0.2778em', # -5mu = -5/18em
|
200
|
+
' ': '0.25em', # inter word space
|
201
|
+
';': '0.2778em', # 5mu thickspace
|
202
|
+
':': '0.2222em', # 4mu medspace
|
203
|
+
',': '0.1667em', # 3mu thinspace
|
204
|
+
'!': '-0.1667em', # negthinspace
|
205
|
+
}
|
206
|
+
|
207
|
+
# accents -> <mover stretchy="false">
|
208
|
+
accents = {# TeX: (spacing, combining)
|
209
|
+
'acute': ('´', '\u0301'),
|
210
|
+
'bar': ('ˉ', '\u0304'),
|
211
|
+
'breve': ('˘', '\u0306'),
|
212
|
+
'check': ('ˇ', '\u030C'),
|
213
|
+
'dot': ('˙', '\u0307'),
|
214
|
+
'ddot': ('¨', '\u0308'),
|
215
|
+
'dddot': ('⋯', '\u20DB'),
|
216
|
+
'grave': ('`', '\u0300'),
|
217
|
+
'hat': ('ˆ', '\u0302'),
|
218
|
+
'mathring': ('˚', '\u030A'),
|
219
|
+
'tilde': ('˜', '\u0303'), # tilde ~ or small tilde ˜?
|
220
|
+
'vec': ('→', '\u20d7'), # → too heavy, accents="false"
|
221
|
+
# TODO: ddddot
|
222
|
+
}
|
223
|
+
|
224
|
+
# limits etc. -> <mover> or <munder>
|
225
|
+
over = {# TeX: (char, offset-correction/em)
|
226
|
+
'overbrace': ('\u23DE', -0.2), # DejaVu Math -0.6
|
227
|
+
'overleftarrow': ('\u2190', -0.2),
|
228
|
+
'overleftrightarrow': ('\u2194', -0.2),
|
229
|
+
'overline': ('_', -0.2), # \u2012 does not stretch
|
230
|
+
'overrightarrow': ('\u2192', -0.2),
|
231
|
+
'widehat': ('^', -0.5),
|
232
|
+
'widetilde': ('~', -0.3),
|
233
|
+
}
|
234
|
+
under = {'underbrace': ('\u23DF', 0.1), # DejaVu Math -0.7
|
235
|
+
'underleftarrow': ('\u2190', -0.2),
|
236
|
+
'underleftrightarrow': ('\u2194', -0.2),
|
237
|
+
'underline': ('_', -0.8),
|
238
|
+
'underrightarrow': ('\u2192', -0.2),
|
239
|
+
}
|
240
|
+
|
241
|
+
# Character translations
|
242
|
+
# ----------------------
|
243
|
+
# characters with preferred alternative in mathematical use
|
244
|
+
# cf. https://www.w3.org/TR/MathML3/chapter7.html#chars.anomalous
|
245
|
+
anomalous_chars = {'-': '\u2212', # HYPHEN-MINUS -> MINUS SIGN
|
246
|
+
':': '\u2236', # COLON -> RATIO
|
247
|
+
'~': '\u00a0', # NO-BREAK SPACE
|
248
|
+
}
|
249
|
+
|
250
|
+
# blackboard bold (Greek characters not working with "mathvariant" (Firefox 78)
|
251
|
+
mathbb = {'Γ': '\u213E', # ℾ
|
252
|
+
'Π': '\u213F', # ℿ
|
253
|
+
'Σ': '\u2140', # ⅀
|
254
|
+
'γ': '\u213D', # ℽ
|
255
|
+
'π': '\u213C', # ℼ
|
256
|
+
}
|
257
|
+
|
258
|
+
# Matrix environments
|
259
|
+
matrices = {# name: fences
|
260
|
+
'matrix': ('', ''),
|
261
|
+
'smallmatrix': ('', ''), # smaller, see begin_environment()!
|
262
|
+
'pmatrix': ('(', ')'),
|
263
|
+
'bmatrix': ('[', ']'),
|
264
|
+
'Bmatrix': ('{', '}'),
|
265
|
+
'vmatrix': ('|', '|'),
|
266
|
+
'Vmatrix': ('\u2016', '\u2016'), # ‖
|
267
|
+
'cases': ('{', ''),
|
268
|
+
}
|
269
|
+
|
270
|
+
layout_styles = {
|
271
|
+
'displaystyle': {'displaystyle': True, 'scriptlevel': 0},
|
272
|
+
'textstyle': {'displaystyle': False, 'scriptlevel': 0},
|
273
|
+
'scriptstyle': {'displaystyle': False, 'scriptlevel': 1},
|
274
|
+
'scriptscriptstyle': {'displaystyle': False, 'scriptlevel': 2},
|
275
|
+
}
|
276
|
+
# See also https://www.w3.org/TR/MathML3/chapter3.html#presm.scriptlevel
|
277
|
+
|
278
|
+
fractions = {# name: style_attrs, frac_attrs
|
279
|
+
'frac': ({}, {}),
|
280
|
+
'cfrac': ({'displaystyle': True, 'scriptlevel': 0,
|
281
|
+
'CLASS': 'cfrac'}, {}), # in LaTeX with padding
|
282
|
+
'dfrac': (layout_styles['displaystyle'], {}),
|
283
|
+
'tfrac': (layout_styles['textstyle'], {}),
|
284
|
+
'binom': ({}, {'linethickness': 0}),
|
285
|
+
'dbinom': (layout_styles['displaystyle'], {'linethickness': 0}),
|
286
|
+
'tbinom': (layout_styles['textstyle'], {'linethickness': 0}),
|
287
|
+
}
|
288
|
+
|
289
|
+
delimiter_sizes = ['', '1.2em', '1.623em', '2.047em', '2.470em']
|
290
|
+
bigdelimiters = {'left': 0,
|
291
|
+
'right': 0,
|
292
|
+
'bigl': 1,
|
293
|
+
'bigr': 1,
|
294
|
+
'Bigl': 2,
|
295
|
+
'Bigr': 2,
|
296
|
+
'biggl': 3,
|
297
|
+
'biggr': 3,
|
298
|
+
'Biggl': 4,
|
299
|
+
'Biggr': 4,
|
300
|
+
}
|
301
|
+
|
302
|
+
|
303
|
+
# MathML element classes
|
304
|
+
# ----------------------
|
305
|
+
|
306
|
+
class math:
|
307
|
+
"""Base class for MathML elements and root of MathML trees."""
|
308
|
+
|
309
|
+
nchildren = None
|
310
|
+
"""Expected number of children or None"""
|
311
|
+
# cf. https://www.w3.org/TR/MathML3/chapter3.html#id.3.1.3.2
|
312
|
+
parent = None
|
313
|
+
"""Parent node in MathML DOM tree."""
|
314
|
+
_level = 0 # indentation level (static class variable)
|
315
|
+
xml_entities = { # for invalid and invisible characters
|
316
|
+
ord('<'): '<',
|
317
|
+
ord('>'): '>',
|
318
|
+
ord('&'): '&',
|
319
|
+
0x2061: '⁡',
|
320
|
+
}
|
321
|
+
_boolstrings = {True: 'true', False: 'false'}
|
322
|
+
"""String representation of boolean MathML attribute values."""
|
323
|
+
|
324
|
+
html_tagname = 'span'
|
325
|
+
"""Tag name for HTML representation."""
|
326
|
+
|
327
|
+
def __init__(self, *children, **attributes):
|
328
|
+
"""Set up node with `children` and `attributes`.
|
329
|
+
|
330
|
+
Attributes are downcased: Use CLASS to set "class" value.
|
331
|
+
>>> math(mn(3), CLASS='test')
|
332
|
+
math(mn(3), class='test')
|
333
|
+
>>> math(CLASS='test').toprettyxml()
|
334
|
+
'<math class="test">\n</math>'
|
335
|
+
|
336
|
+
"""
|
337
|
+
self.children = []
|
338
|
+
self.extend(children)
|
339
|
+
|
340
|
+
self.attributes = {}
|
341
|
+
for key in attributes.keys():
|
342
|
+
# Use .lower() to allow argument `CLASS` for attribute `class`
|
343
|
+
# (Python keyword). MathML uses only lowercase attributes.
|
344
|
+
self.attributes[key.lower()] = attributes[key]
|
345
|
+
|
346
|
+
def __repr__(self):
|
347
|
+
content = [repr(item) for item in getattr(self, 'children', [])]
|
348
|
+
if hasattr(self, 'data'):
|
349
|
+
content.append(repr(self.data))
|
350
|
+
if isinstance(self, MathSchema) and self.switch:
|
351
|
+
content.append('switch=True')
|
352
|
+
content += ["%s=%r"%(k, v) for k, v in self.attributes.items()
|
353
|
+
if v is not None]
|
354
|
+
|
355
|
+
return self.__class__.__name__ + '(%s)' % ', '.join(content)
|
356
|
+
|
357
|
+
def __len__(self):
|
358
|
+
return len(self.children)
|
359
|
+
|
360
|
+
# emulate dictionary-like access to attributes
|
361
|
+
# see `docutils.nodes.Element` for dict/list interface
|
362
|
+
def __getitem__(self, key):
|
363
|
+
return self.attributes[key]
|
364
|
+
|
365
|
+
def __setitem__(self, key, item):
|
366
|
+
self.attributes[key] = item
|
367
|
+
|
368
|
+
def get(self, *args, **kwargs):
|
369
|
+
return self.attributes.get(*args, **kwargs)
|
370
|
+
|
371
|
+
def full(self):
|
372
|
+
"""Return boolean indicating whether children may be appended."""
|
373
|
+
return (self.nchildren is not None
|
374
|
+
and len(self) >= self.nchildren)
|
375
|
+
|
376
|
+
def append(self, child):
|
377
|
+
"""Append child and return self or first non-full parent.
|
378
|
+
|
379
|
+
If self is full, go up the tree and return first non-full node or
|
380
|
+
`None`.
|
381
|
+
"""
|
382
|
+
if self.full():
|
383
|
+
raise SyntaxError('Node %s already full!' % self)
|
384
|
+
self.children.append(child)
|
385
|
+
child.parent = self
|
386
|
+
if self.full():
|
387
|
+
return self.close()
|
388
|
+
return self
|
389
|
+
|
390
|
+
def extend(self, children):
|
391
|
+
for child in children:
|
392
|
+
self.append(child)
|
393
|
+
return self
|
394
|
+
|
395
|
+
def close(self):
|
396
|
+
"""Close element and return first non-full parent or None."""
|
397
|
+
parent = self.parent
|
398
|
+
while parent is not None and parent.full():
|
399
|
+
parent = parent.parent
|
400
|
+
return parent
|
401
|
+
|
402
|
+
def toprettyxml(self):
|
403
|
+
"""Return XML representation of self as string."""
|
404
|
+
return ''.join(self._xml())
|
405
|
+
|
406
|
+
def _xml(self, level=0):
|
407
|
+
return ([self.xml_starttag()]
|
408
|
+
+ self._xml_body(level)
|
409
|
+
+ ['</%s>' % self.__class__.__name__])
|
410
|
+
|
411
|
+
def xml_starttag(self):
|
412
|
+
attrs = ('%s="%s"' % (k, str(v).replace('True', 'true').replace('False', 'false'))
|
413
|
+
for k, v in self.attributes.items()
|
414
|
+
if v is not None)
|
415
|
+
return '<%s>' % ' '.join((self.__class__.__name__, *attrs))
|
416
|
+
|
417
|
+
def _xml_body(self, level=0):
|
418
|
+
xml = []
|
419
|
+
for child in self.children:
|
420
|
+
xml.extend(['\n', ' ' * (level+1)])
|
421
|
+
xml.extend(child._xml(level+1))
|
422
|
+
xml.extend(['\n', ' ' * level])
|
423
|
+
return xml
|
424
|
+
|
425
|
+
# >>> n2 = math(mn(2))
|
426
|
+
# >>> n2
|
427
|
+
# math(mn(2))
|
428
|
+
# >>> n2.toprettyxml()
|
429
|
+
# '<math>\n <mn>2</mn>\n</math>'
|
430
|
+
# >>> len(n2)
|
431
|
+
# 1
|
432
|
+
# >>> eq3 = math(id='eq3', display='block')
|
433
|
+
# >>> eq3
|
434
|
+
# math(display='block', id='eq3')
|
435
|
+
# >>> eq3.toprettyxml()
|
436
|
+
# '<math display="block" id="eq3">\n</math>'
|
437
|
+
# >>> len(eq3)
|
438
|
+
# 0
|
439
|
+
# >>> math(CLASS='bold').xml_starttag()
|
440
|
+
# '<math class="bold">'
|
441
|
+
|
442
|
+
|
443
|
+
class mtable(math): pass
|
444
|
+
|
445
|
+
|
446
|
+
# >>> mt = mtable(displaystyle=True)
|
447
|
+
# >>> mt
|
448
|
+
# mtable(displaystyle=True)
|
449
|
+
# >>> math(mt).toprettyxml()
|
450
|
+
# '<math>\n <mtable displaystyle="true">\n </mtable>\n</math>'
|
451
|
+
|
452
|
+
class mrow(math):
|
453
|
+
"""Group sub-expressions as a horizontal row."""
|
454
|
+
|
455
|
+
def close(self):
|
456
|
+
"""Close element and return first non-full parent or None.
|
457
|
+
|
458
|
+
Remove <mrow>, if it is single child and the parent infers an mrow
|
459
|
+
or if it has only one child element.
|
460
|
+
"""
|
461
|
+
parent = self.parent
|
462
|
+
if isinstance(parent, MathRowSchema) and parent.nchildren == 1:
|
463
|
+
parent.nchildren = len(parent.children)
|
464
|
+
parent.children = self.children
|
465
|
+
for child in self.children:
|
466
|
+
child.parent = parent
|
467
|
+
return parent.close()
|
468
|
+
if len(self) == 1:
|
469
|
+
try:
|
470
|
+
parent.children[parent.children.index(self)] = self.children[0]
|
471
|
+
self.children[0].parent = parent
|
472
|
+
except (AttributeError, ValueError):
|
473
|
+
return self.children[0]
|
474
|
+
return super().close()
|
475
|
+
|
476
|
+
# >>> mrow(displaystyle=False)
|
477
|
+
# mrow(displaystyle=False)
|
478
|
+
|
479
|
+
|
480
|
+
# The elements <msqrt>, <mstyle>, <merror>, <mpadded>, <mphantom>, <menclose>,
|
481
|
+
# <mtd>, <mscarry>, and <math> treat their contents as a single inferred mrow
|
482
|
+
# formed from all their children.
|
483
|
+
class MathRowSchema(math):
|
484
|
+
"""Base class for elements treating content as a single inferred mrow."""
|
485
|
+
|
486
|
+
|
487
|
+
class mtr(MathRowSchema): pass
|
488
|
+
class mtd(MathRowSchema): pass
|
489
|
+
|
490
|
+
|
491
|
+
class menclose(MathRowSchema):
|
492
|
+
nchildren = 1 # \boxed expects one argument or a group
|
493
|
+
|
494
|
+
|
495
|
+
class mphantom(MathRowSchema):
|
496
|
+
nchildren = 1 # \phantom expects one argument or a group
|
497
|
+
|
498
|
+
|
499
|
+
class msqrt(MathRowSchema):
|
500
|
+
nchildren = 1 # \sqrt expects one argument or a group
|
501
|
+
|
502
|
+
|
503
|
+
class mstyle(MathRowSchema):
|
504
|
+
nchildren = 1 # \mathrm, ... expect one argument or a group
|
505
|
+
|
506
|
+
|
507
|
+
class MathToken(math):
|
508
|
+
"""Token Element: contains textual data instead of children.
|
509
|
+
|
510
|
+
Base class for mo, mi, and mn.
|
511
|
+
"""
|
512
|
+
nchildren = 0
|
513
|
+
|
514
|
+
def __init__(self, data, **attributes):
|
515
|
+
self.data = data
|
516
|
+
super().__init__(**attributes)
|
517
|
+
|
518
|
+
def _xml_body(self, level=0):
|
519
|
+
return [str(self.data).translate(self.xml_entities)]
|
520
|
+
|
521
|
+
|
522
|
+
class mtext(MathToken): pass
|
523
|
+
class mi(MathToken): pass
|
524
|
+
class mo(MathToken): pass
|
525
|
+
class mn(MathToken): pass
|
526
|
+
|
527
|
+
|
528
|
+
# >>> mo('<')
|
529
|
+
# mo('<')
|
530
|
+
# >>> mo('<')._xml()
|
531
|
+
# ['<mo>', '<', '</mo>']
|
532
|
+
|
533
|
+
class MathSchema(math):
|
534
|
+
"""Base class for schemata expecting 2 or more children.
|
535
|
+
|
536
|
+
The special attribute `switch` indicates that the last two child
|
537
|
+
elements are in reversed order and must be switched before XML-export.
|
538
|
+
"""
|
539
|
+
|
540
|
+
nchildren = 2
|
541
|
+
|
542
|
+
def __init__(self, *children, **kwargs):
|
543
|
+
self.switch = kwargs.pop('switch', False)
|
544
|
+
math.__init__(self, *children, **kwargs)
|
545
|
+
|
546
|
+
def append(self, child):
|
547
|
+
current_node = super().append(child)
|
548
|
+
# normalize order if full
|
549
|
+
if self.switch and self.full():
|
550
|
+
self.children[-1], self.children[-2] = self.children[-2], self.children[-1]
|
551
|
+
self.switch = False
|
552
|
+
return current_node
|
553
|
+
|
554
|
+
|
555
|
+
class msub(MathSchema): pass
|
556
|
+
class msup(MathSchema): pass
|
557
|
+
|
558
|
+
|
559
|
+
class msubsup(MathSchema):
|
560
|
+
nchildren = 3
|
561
|
+
|
562
|
+
|
563
|
+
# >>> msub(mi('x'), mo('-'))
|
564
|
+
# msub(mi('x'), mo('-'))
|
565
|
+
# >>> msubsup(mi('base'), mi('sub'), mi('super'))
|
566
|
+
# msubsup(mi('base'), mi('sub'), mi('super'))
|
567
|
+
# >>> msubsup(mi('base'), mi('super'), mi('sub'), switch=True)
|
568
|
+
# msubsup(mi('base'), mi('sub'), mi('super'))
|
569
|
+
|
570
|
+
class munder(msub): pass
|
571
|
+
class mover(msup): pass
|
572
|
+
|
573
|
+
|
574
|
+
# >>> munder(mi('lim'), mo('-'), accent=False)
|
575
|
+
# munder(mi('lim'), mo('-'), accent=False)
|
576
|
+
# >>> mu = munder(mo('-'), accent=False, switch=True)
|
577
|
+
# >>> mu
|
578
|
+
# munder(mo('-'), switch=True, accent=False)
|
579
|
+
# >>> mu.append(mi('lim'))
|
580
|
+
# >>> mu
|
581
|
+
# munder(mi('lim'), mo('-'), accent=False)
|
582
|
+
# >>> mu.append(mi('lim'))
|
583
|
+
# Traceback (most recent call last):
|
584
|
+
# SyntaxError: Node munder(mi('lim'), mo('-'), accent=False) already full!
|
585
|
+
# >>> munder(mo('-'), mi('lim'), accent=False, switch=True).toprettyxml()
|
586
|
+
# '<munder accent="false">\n <mi>lim</mi>\n <mo>-</mo>\n</munder>'
|
587
|
+
|
588
|
+
class munderover(msubsup): pass
|
589
|
+
|
590
|
+
|
591
|
+
class mroot(MathSchema):
|
592
|
+
nchildren = 2
|
593
|
+
|
594
|
+
|
595
|
+
class mfrac(math):
|
596
|
+
nchildren = 2
|
597
|
+
|
598
|
+
|
599
|
+
class mspace(math):
|
600
|
+
nchildren = 0
|
601
|
+
|
602
|
+
|
603
|
+
# LaTeX to MathML translation
|
604
|
+
# ---------------------------
|
605
|
+
|
606
|
+
# auxiliary functions
|
607
|
+
# ~~~~~~~~~~~~~~~~~~~
|
608
|
+
|
609
|
+
def tex_cmdname(string):
|
610
|
+
"""Return leading TeX command name and remainder of `string`.
|
611
|
+
|
612
|
+
>>> tex_cmdname('mymacro2') # up to first non-letter
|
613
|
+
('mymacro', '2')
|
614
|
+
>>> tex_cmdname('name 2') # strip trailing whitespace
|
615
|
+
('name', '2')
|
616
|
+
>>> tex_cmdname('_2') # single non-letter character
|
617
|
+
('_', '2')
|
618
|
+
|
619
|
+
"""
|
620
|
+
m = re.match(r'([a-zA-Z]+) *(.*)', string)
|
621
|
+
if m is None:
|
622
|
+
m = re.match(r'(.?)(.*)', string)
|
623
|
+
return m.group(1), m.group(2)
|
624
|
+
|
625
|
+
|
626
|
+
# Test:
|
627
|
+
#
|
628
|
+
# >>> tex_cmdname('name_2') # first non-letter terminates
|
629
|
+
# ('name', '_2')
|
630
|
+
# >>> tex_cmdname(' next') # leading whitespace is returned
|
631
|
+
# (' ', 'next')
|
632
|
+
# >>> tex_cmdname('1 2') # whitespace after non-letter is kept
|
633
|
+
# ('1', ' 2')
|
634
|
+
# >>> tex_cmdname('') # empty string
|
635
|
+
# ('', '')
|
636
|
+
|
637
|
+
|
638
|
+
def tex_number(string):
|
639
|
+
"""Return leading number literal and remainder of `string`.
|
640
|
+
|
641
|
+
>>> tex_number('123.4')
|
642
|
+
('123.4', '')
|
643
|
+
|
644
|
+
"""
|
645
|
+
m = re.match(r'([0-9.,]*[0-9]+)(.*)', string)
|
646
|
+
if m is None:
|
647
|
+
return '', string
|
648
|
+
return m.group(1), m.group(2)
|
649
|
+
|
650
|
+
|
651
|
+
# Test:
|
652
|
+
#
|
653
|
+
# >>> tex_number(' 23.4b') # leading whitespace -> no number
|
654
|
+
# ('', ' 23.4b')
|
655
|
+
# >>> tex_number('23,400/2') # comma separator included
|
656
|
+
# ('23,400', '/2')
|
657
|
+
# >>> tex_number('23. 4/2') # trailing separator not included
|
658
|
+
# ('23', '. 4/2')
|
659
|
+
# >>> tex_number('4, 2') # trailing separator not included
|
660
|
+
# ('4', ', 2')
|
661
|
+
# >>> tex_number('1 000.4')
|
662
|
+
# ('1', ' 000.4')
|
663
|
+
|
664
|
+
|
665
|
+
def tex_token(string):
|
666
|
+
"""Return first simple TeX token and remainder of `string`.
|
667
|
+
|
668
|
+
>>> tex_token('\\command{without argument}')
|
669
|
+
('\\command', '{without argument}')
|
670
|
+
>>> tex_token('or first character')
|
671
|
+
('o', 'r first character')
|
672
|
+
|
673
|
+
"""
|
674
|
+
m = re.match(r"""((?P<cmd>\\[a-zA-Z]+)\s* # TeX command, skip whitespace
|
675
|
+
|(?P<chcmd>\\.) # one-character TeX command
|
676
|
+
|(?P<ch>.?)) # first character (or empty)
|
677
|
+
(?P<remainder>.*$) # remaining part of string
|
678
|
+
""", string, re.VERBOSE)
|
679
|
+
cmd, chcmd, ch, remainder = m.group('cmd', 'chcmd', 'ch', 'remainder')
|
680
|
+
return cmd or chcmd or ch, remainder
|
681
|
+
|
682
|
+
# Test:
|
683
|
+
#
|
684
|
+
# >>> tex_token('{opening bracket of group}')
|
685
|
+
# ('{', 'opening bracket of group}')
|
686
|
+
# >>> tex_token('\\skip whitespace after macro name')
|
687
|
+
# ('\\skip', 'whitespace after macro name')
|
688
|
+
# >>> tex_token('. but not after single char')
|
689
|
+
# ('.', ' but not after single char')
|
690
|
+
# >>> tex_token('') # empty string.
|
691
|
+
# ('', '')
|
692
|
+
# >>> tex_token('\{escaped bracket')
|
693
|
+
# ('\\{', 'escaped bracket')
|
694
|
+
|
695
|
+
|
696
|
+
def tex_group(string):
|
697
|
+
"""Return first TeX group or token and remainder of `string`.
|
698
|
+
|
699
|
+
>>> tex_group('{first group} returned without brackets')
|
700
|
+
('first group', ' returned without brackets')
|
701
|
+
|
702
|
+
"""
|
703
|
+
split_index = 0
|
704
|
+
nest_level = 0 # level of {{nested} groups}
|
705
|
+
escape = False # the next character is escaped (\)
|
706
|
+
|
707
|
+
if not string.startswith('{'):
|
708
|
+
# special case: there is no group, return first token and remainder
|
709
|
+
return string[:1], string[1:]
|
710
|
+
for c in string:
|
711
|
+
split_index += 1
|
712
|
+
if escape:
|
713
|
+
escape = False
|
714
|
+
elif c == '\\':
|
715
|
+
escape = True
|
716
|
+
elif c == '{':
|
717
|
+
nest_level += 1
|
718
|
+
elif c == '}':
|
719
|
+
nest_level -= 1
|
720
|
+
if nest_level == 0:
|
721
|
+
break
|
722
|
+
else:
|
723
|
+
raise SyntaxError('Group without closing bracket')
|
724
|
+
return string[1:split_index-1], string[split_index:]
|
725
|
+
|
726
|
+
|
727
|
+
# >>> tex_group('{} empty group')
|
728
|
+
# ('', ' empty group')
|
729
|
+
# >>> tex_group('{group with {nested} group} ')
|
730
|
+
# ('group with {nested} group', ' ')
|
731
|
+
# >>> tex_group('{group with {nested group}} at the end')
|
732
|
+
# ('group with {nested group}', ' at the end')
|
733
|
+
# >>> tex_group('{{group} {with {{complex }nesting}} constructs}')
|
734
|
+
# ('{group} {with {{complex }nesting}} constructs', '')
|
735
|
+
# >>> tex_group('{group with \\{escaped\\} brackets}')
|
736
|
+
# ('group with \\{escaped\\} brackets', '')
|
737
|
+
# >>> tex_group('{group followed by closing bracket}} from outer group')
|
738
|
+
# ('group followed by closing bracket', '} from outer group')
|
739
|
+
# >>> tex_group('No group? Return first character.')
|
740
|
+
# ('N', 'o group? Return first character.')
|
741
|
+
# >>> tex_group(' {also whitespace}')
|
742
|
+
# (' ', '{also whitespace}')
|
743
|
+
|
744
|
+
|
745
|
+
def tex_token_or_group(string):
|
746
|
+
"""Return first TeX group or token and remainder of `string`.
|
747
|
+
|
748
|
+
>>> tex_token_or_group('\\command{without argument}')
|
749
|
+
('\\command', '{without argument}')
|
750
|
+
>>> tex_token_or_group('first character')
|
751
|
+
('f', 'irst character')
|
752
|
+
>>> tex_token_or_group(' also whitespace')
|
753
|
+
(' ', 'also whitespace')
|
754
|
+
>>> tex_token_or_group('{first group} keep rest')
|
755
|
+
('first group', ' keep rest')
|
756
|
+
|
757
|
+
"""
|
758
|
+
arg, remainder = tex_token(string)
|
759
|
+
if arg == '{':
|
760
|
+
arg, remainder = tex_group(string.lstrip())
|
761
|
+
return arg, remainder
|
762
|
+
|
763
|
+
# >>> tex_token_or_group('\{no group but left bracket')
|
764
|
+
# ('\\{', 'no group but left bracket')
|
765
|
+
|
766
|
+
|
767
|
+
def tex_optarg(string):
|
768
|
+
"""Return optional argument and remainder.
|
769
|
+
|
770
|
+
>>> tex_optarg('[optional argument] returned without brackets')
|
771
|
+
('optional argument', ' returned without brackets')
|
772
|
+
>>> tex_optarg('{empty string, if there is no optional arg}')
|
773
|
+
('', '{empty string, if there is no optional arg}')
|
774
|
+
|
775
|
+
"""
|
776
|
+
m = re.match(r"""\s* # leading whitespace
|
777
|
+
\[(?P<optarg>(\\]|[^\[\]]|\\])*)\] # [group] without nested groups
|
778
|
+
(?P<remainder>.*$)
|
779
|
+
""", string, re.VERBOSE)
|
780
|
+
if m is None and not string.startswith('['):
|
781
|
+
return '', string
|
782
|
+
try:
|
783
|
+
return m.group('optarg'), m.group('remainder')
|
784
|
+
except AttributeError:
|
785
|
+
raise SyntaxError('Could not extract optional argument from %r' % string)
|
786
|
+
|
787
|
+
# Test:
|
788
|
+
# >>> tex_optarg(' [optional argument] after whitespace')
|
789
|
+
# ('optional argument', ' after whitespace')
|
790
|
+
# >>> tex_optarg('[missing right bracket')
|
791
|
+
# Traceback (most recent call last):
|
792
|
+
# SyntaxError: Could not extract optional argument from '[missing right bracket'
|
793
|
+
# >>> tex_optarg('[group with [nested group]]')
|
794
|
+
# Traceback (most recent call last):
|
795
|
+
# SyntaxError: Could not extract optional argument from '[group with [nested group]]'
|
796
|
+
|
797
|
+
|
798
|
+
def parse_latex_math(node, string):
|
799
|
+
"""Append MathML conversion of `string` to `node` and return it.
|
800
|
+
|
801
|
+
>>> parse_latex_math(math(), r'\alpha')
|
802
|
+
math(mi('α'))
|
803
|
+
>>> parse_latex_math(mrow(), r'x_{n}')
|
804
|
+
mrow(msub(mi('x'), mi('n')))
|
805
|
+
|
806
|
+
"""
|
807
|
+
# Normalize white-space:
|
808
|
+
string = ' '.join(string.split())
|
809
|
+
tree = node
|
810
|
+
|
811
|
+
while len(string) > 0:
|
812
|
+
# Take off first character:
|
813
|
+
c, string = string[0], string[1:]
|
814
|
+
|
815
|
+
if c == ' ':
|
816
|
+
continue # whitespace is ignored in LaTeX math mode
|
817
|
+
if c == '\\': # start of a LaTeX macro
|
818
|
+
cmdname, string = tex_cmdname(string)
|
819
|
+
node, string = handle_cmd(cmdname, node, string)
|
820
|
+
elif c in "_^":
|
821
|
+
node = handle_script_or_limit(node, c)
|
822
|
+
elif c == '{':
|
823
|
+
new_node = mrow()
|
824
|
+
node.append(new_node)
|
825
|
+
node = new_node
|
826
|
+
elif c == '}':
|
827
|
+
node = node.close()
|
828
|
+
elif c == '&':
|
829
|
+
new_node = mtd()
|
830
|
+
node.close().append(new_node)
|
831
|
+
node = new_node
|
832
|
+
elif c.isalpha():
|
833
|
+
node = node.append(mi(c))
|
834
|
+
elif c.isdigit():
|
835
|
+
number, string = tex_number(string)
|
836
|
+
node = node.append(mn(c+number))
|
837
|
+
elif c in anomalous_chars:
|
838
|
+
# characters with a special meaning in LaTeX math mode
|
839
|
+
# fix spacing before "unary" minus.
|
840
|
+
attributes = {}
|
841
|
+
if c == '-' and node.children:
|
842
|
+
previous_node = node.children[-1]
|
843
|
+
if (getattr(previous_node, 'data', '-') in '([='
|
844
|
+
or previous_node.get('class') == 'mathopen'):
|
845
|
+
attributes['form'] = 'prefix'
|
846
|
+
node = node.append(mo(anomalous_chars[c], **attributes))
|
847
|
+
elif c in "/()[]|":
|
848
|
+
node = node.append(mo(c, stretchy=False))
|
849
|
+
elif c in "+*=<>,.!?`';@":
|
850
|
+
node = node.append(mo(c))
|
851
|
+
else:
|
852
|
+
raise SyntaxError('Unsupported character: "%s"' % c)
|
853
|
+
return tree
|
854
|
+
|
855
|
+
# Test:
|
856
|
+
|
857
|
+
# >>> print(parse_latex_math(math(), ''))
|
858
|
+
# math()
|
859
|
+
# >>> parse_latex_math(math(), ' \\sqrt{ \\alpha}')
|
860
|
+
# math(msqrt(mi('α')))
|
861
|
+
# >>> parse_latex_math(math(), '23.4x')
|
862
|
+
# math(mn('23.4'), mi('x'))
|
863
|
+
# >>> parse_latex_math(math(), '\\sqrt 2 \\ne 3')
|
864
|
+
# math(msqrt(mn('2')), mo('≠'), mn('3'))
|
865
|
+
# >>> parse_latex_math(math(), '\\sqrt{2 + 3} < 3')
|
866
|
+
# math(msqrt(mn('2'), mo('+'), mn('3')), mo('<'), mn('3'))
|
867
|
+
# >>> parse_latex_math(math(), '\\sqrt[3]{2 + 3}')
|
868
|
+
# math(mroot(mrow(mn('2'), mo('+'), mn('3')), mn('3')))
|
869
|
+
# >>> parse_latex_math(math(), '\max_x') # function takes limits
|
870
|
+
# math(munder(mo('max', movablelimits=True), mi('x')))
|
871
|
+
# >>> parse_latex_math(math(), 'x^j_i') # ensure correct order: base, sub, sup
|
872
|
+
# math(msubsup(mi('x'), mi('i'), mi('j')))
|
873
|
+
# >>> parse_latex_math(math(), '\int^j_i') # ensure correct order
|
874
|
+
# math(msubsup(mo('∫'), mi('i'), mi('j')))
|
875
|
+
# >>> parse_latex_math(math(), 'x_{\\alpha}')
|
876
|
+
# math(msub(mi('x'), mi('α')))
|
877
|
+
# >>> parse_latex_math(math(), 'x_\\text{in}')
|
878
|
+
# math(msub(mi('x'), mtext('in')))
|
879
|
+
|
880
|
+
|
881
|
+
def handle_cmd(name, node, string): # noqa: C901 TODO make this less complex
|
882
|
+
"""Process LaTeX command `name` followed by `string`.
|
883
|
+
|
884
|
+
Append result to `node`.
|
885
|
+
If needed, parse `string` for command argument.
|
886
|
+
Return new current node and remainder of `string`:
|
887
|
+
|
888
|
+
>>> handle_cmd('hbar', math(), r' \frac')
|
889
|
+
(math(mi('ℏ')), ' \\frac')
|
890
|
+
>>> handle_cmd('hspace', math(), r'{1ex} (x)')
|
891
|
+
(math(mspace(width='1ex')), ' (x)')
|
892
|
+
|
893
|
+
"""
|
894
|
+
|
895
|
+
# Token elements
|
896
|
+
# ==============
|
897
|
+
|
898
|
+
# identifier -> <mi>
|
899
|
+
|
900
|
+
if name in letters:
|
901
|
+
new_node = mi(letters[name])
|
902
|
+
if name in greek_capitals:
|
903
|
+
# upright in "TeX style" but MathML sets them italic ("ISO style").
|
904
|
+
# CSS styling does not change the font style in Firefox 78.
|
905
|
+
# Use 'mathvariant="normal"'?
|
906
|
+
new_node['class'] = 'capital-greek'
|
907
|
+
node = node.append(new_node)
|
908
|
+
return node, string
|
909
|
+
|
910
|
+
if name in functions:
|
911
|
+
# use <mi> followed by invisible function applicator character
|
912
|
+
# (see https://www.w3.org/TR/MathML3/chapter3.html#presm.mi)
|
913
|
+
if name == 'operatorname':
|
914
|
+
# custom function name, e.g. ``\operatorname{abs}(x)``
|
915
|
+
# TODO: \operatorname* -> with limits
|
916
|
+
arg, string = tex_token_or_group(string)
|
917
|
+
new_node = mi(arg, mathvariant='normal')
|
918
|
+
else:
|
919
|
+
new_node = mi(functions[name])
|
920
|
+
# embellished function names:
|
921
|
+
if name == 'varliminf': # \underline\lim
|
922
|
+
new_node = munder(new_node, mo('_'))
|
923
|
+
elif name == 'varlimsup': # \overline\lim
|
924
|
+
new_node = mover(new_node, mo('¯'), accent=False)
|
925
|
+
elif name == 'varprojlim': # \underleftarrow\lim
|
926
|
+
new_node = munder(new_node, mo('\u2190'))
|
927
|
+
elif name == 'varinjlim': # \underrightarrow\lim
|
928
|
+
new_node = munder(new_node, mo('\u2192'))
|
929
|
+
|
930
|
+
node = node.append(new_node)
|
931
|
+
# add ApplyFunction when appropriate (not \sin^2(x), say)
|
932
|
+
# cf. https://www.w3.org/TR/MathML3/chapter3.html#presm.mi
|
933
|
+
if string and string[0] not in ('^', '_'):
|
934
|
+
node = node.append(mo('\u2061')) # ⁡
|
935
|
+
return node, string
|
936
|
+
|
937
|
+
if name in math_alphabets:
|
938
|
+
if name == 'boldsymbol':
|
939
|
+
attributes = {'class': 'boldsymbol'}
|
940
|
+
else:
|
941
|
+
attributes = {'mathvariant': math_alphabets[name]}
|
942
|
+
if name == 'mathscr':
|
943
|
+
attributes['class'] = 'mathscr'
|
944
|
+
# Check for single symbol (letter, name, or ⅀)
|
945
|
+
arg, remainder = tex_token_or_group(string)
|
946
|
+
if arg.startswith('\\'):
|
947
|
+
# convert single letters (so the isalpha() test below works).
|
948
|
+
# TODO: convert all LICRs in a group (\matrm{\mu\Omega})
|
949
|
+
arg = letters.get(arg[1:], arg)
|
950
|
+
if name == 'mathbb':
|
951
|
+
# mathvariant="double-struck" is ignored for Greek letters
|
952
|
+
# (tested in Firefox 78). Use literal Unicode characters.
|
953
|
+
arg = mathbb.get(arg, arg)
|
954
|
+
if arg.isalpha() or arg == '\u2140':
|
955
|
+
node = node.append(mi(arg, **attributes))
|
956
|
+
return node, remainder
|
957
|
+
# Wrap in <style>
|
958
|
+
style = mstyle(**attributes)
|
959
|
+
node.append(style)
|
960
|
+
return style, string
|
961
|
+
|
962
|
+
# operator, fence, or separator -> <mo>
|
963
|
+
|
964
|
+
if name == 'colon': # trailing punctuation, not binary relation
|
965
|
+
node = node.append(mo(':', form='postfix', lspace='0', rspace='0.28em'))
|
966
|
+
return node, string
|
967
|
+
|
968
|
+
if name == 'idotsint':
|
969
|
+
node = parse_latex_math(node, r'\int\dotsi\int')
|
970
|
+
return node, string
|
971
|
+
|
972
|
+
if name in thick_operators:
|
973
|
+
node = node.append(mo(thick_operators[name], style='font-weight: bold'))
|
974
|
+
return node, string
|
975
|
+
|
976
|
+
if name in small_operators:
|
977
|
+
node = node.append(mo(small_operators[name], mathsize='75%'))
|
978
|
+
return node, string
|
979
|
+
|
980
|
+
if name in operators:
|
981
|
+
attributes = {}
|
982
|
+
if name in movablelimits and string and string[0] in ' _^':
|
983
|
+
attributes['movablelimits'] = True
|
984
|
+
elif name in ('lvert', 'lVert'):
|
985
|
+
attributes['class'] = 'mathopen'
|
986
|
+
node = node.append(mo(operators[name], **attributes))
|
987
|
+
return node, string
|
988
|
+
|
989
|
+
if name in bigdelimiters:
|
990
|
+
delimiter_attributes = {}
|
991
|
+
size = delimiter_sizes[bigdelimiters[name]]
|
992
|
+
delimiter, string = tex_token_or_group(string)
|
993
|
+
if delimiter not in '()[]/|.':
|
994
|
+
try:
|
995
|
+
delimiter = stretchables[delimiter.lstrip('\\')]
|
996
|
+
except KeyError:
|
997
|
+
raise SyntaxError('Unsupported "\\%s" delimiter "%s"!'
|
998
|
+
% (name, delimiter))
|
999
|
+
if size:
|
1000
|
+
delimiter_attributes['maxsize'] = size
|
1001
|
+
delimiter_attributes['minsize'] = size
|
1002
|
+
delimiter_attributes['symmetric'] = True
|
1003
|
+
if name == 'left' or name.endswith('l'):
|
1004
|
+
row = mrow()
|
1005
|
+
node.append(row)
|
1006
|
+
node = row
|
1007
|
+
if delimiter != '.': # '.' stands for "empty delimiter"
|
1008
|
+
node.append(mo(delimiter, **delimiter_attributes))
|
1009
|
+
if name == 'right' or name.endswith('r'):
|
1010
|
+
node = node.close()
|
1011
|
+
return node, string
|
1012
|
+
|
1013
|
+
if name == 'not':
|
1014
|
+
arg, string = tex_token(string)
|
1015
|
+
if arg == '{':
|
1016
|
+
return node, '{\\not ' + string
|
1017
|
+
if arg.startswith('\\'): # LaTeX macro
|
1018
|
+
try:
|
1019
|
+
arg = operators[arg[1:]]
|
1020
|
+
except KeyError:
|
1021
|
+
raise SyntaxError('\\not: Cannot negate: "%s"!'%arg)
|
1022
|
+
arg = unicodedata.normalize('NFC', arg+'\u0338')
|
1023
|
+
node = node.append(mo(arg))
|
1024
|
+
return node, string
|
1025
|
+
|
1026
|
+
# arbitrary text (usually comments) -> <mtext>
|
1027
|
+
if name in ('text', 'mbox', 'textrm'):
|
1028
|
+
arg, string = tex_token_or_group(string)
|
1029
|
+
parts = arg.split('$') # extract inline math
|
1030
|
+
for i, part in enumerate(parts):
|
1031
|
+
if i % 2 == 0: # i is even
|
1032
|
+
part = re.sub('(^ | $)', '\u00a0', part)
|
1033
|
+
node = node.append(mtext(part))
|
1034
|
+
else:
|
1035
|
+
parse_latex_math(node, part)
|
1036
|
+
return node, string
|
1037
|
+
|
1038
|
+
# horizontal space -> <mspace>
|
1039
|
+
if name in spaces:
|
1040
|
+
node = node.append(mspace(width='%s'%spaces[name]))
|
1041
|
+
return node, string
|
1042
|
+
|
1043
|
+
if name in ('hspace', 'mspace'):
|
1044
|
+
arg, string = tex_group(string)
|
1045
|
+
if arg.endswith('m'):
|
1046
|
+
arg = '%sem' % (float(arg[:-2])/18)
|
1047
|
+
node = node.append(mspace(width='%s'%arg))
|
1048
|
+
return node, string
|
1049
|
+
|
1050
|
+
if name == 'phantom':
|
1051
|
+
new_node = mphantom()
|
1052
|
+
node.append(new_node)
|
1053
|
+
return new_node, string
|
1054
|
+
|
1055
|
+
if name == 'boxed':
|
1056
|
+
new_node = menclose(notation='box')
|
1057
|
+
node.append(new_node)
|
1058
|
+
return new_node, string
|
1059
|
+
|
1060
|
+
# Complex elements (Layout schemata)
|
1061
|
+
# ==================================
|
1062
|
+
|
1063
|
+
if name == 'sqrt':
|
1064
|
+
radix, string = tex_optarg(string)
|
1065
|
+
if radix:
|
1066
|
+
indexnode = mrow()
|
1067
|
+
new_node = mroot(indexnode, switch=True)
|
1068
|
+
parse_latex_math(indexnode, radix)
|
1069
|
+
indexnode.close()
|
1070
|
+
else:
|
1071
|
+
new_node = msqrt()
|
1072
|
+
node.append(new_node)
|
1073
|
+
return new_node, string
|
1074
|
+
|
1075
|
+
if name in fractions:
|
1076
|
+
(style_atts, frac_atts) = fractions[name]
|
1077
|
+
if name == 'cfrac':
|
1078
|
+
optarg, string = tex_optarg(string)
|
1079
|
+
optargs = {'l': 'left', 'r': 'right'}
|
1080
|
+
if optarg in optargs:
|
1081
|
+
frac_atts = frac_atts.copy()
|
1082
|
+
frac_atts['numalign'] = optargs[optarg] # "numalign" is deprecated
|
1083
|
+
frac_atts['class'] = 'numalign-' + optargs[optarg]
|
1084
|
+
new_node = frac = mfrac(**frac_atts)
|
1085
|
+
if name.endswith('binom'):
|
1086
|
+
new_node = mrow(mo('('), new_node, mo(')'), CLASS='binom')
|
1087
|
+
new_node.nchildren = 3
|
1088
|
+
if style_atts:
|
1089
|
+
new_node = mstyle(new_node, **style_atts)
|
1090
|
+
node.append(new_node)
|
1091
|
+
return frac, string
|
1092
|
+
|
1093
|
+
if name == '\\': # end of a row
|
1094
|
+
entry = mtd()
|
1095
|
+
new_node = mtr(entry)
|
1096
|
+
node.close().close().append(new_node)
|
1097
|
+
return entry, string
|
1098
|
+
|
1099
|
+
if name in accents:
|
1100
|
+
new_node = mover(mo(accents[name][0], stretchy=False), switch=True)
|
1101
|
+
if name == 'vec':
|
1102
|
+
new_node.children[0]['accent'] = False # scale down arrow but drop i-dot
|
1103
|
+
new_node.tex_cmd = name # for HTML export
|
1104
|
+
node.append(new_node)
|
1105
|
+
return new_node, string
|
1106
|
+
|
1107
|
+
if name in over:
|
1108
|
+
# set "accent" to False (otherwise dots on i and j are dropped)
|
1109
|
+
# but to True on accent node get "textstyle" (full size) symbols on top
|
1110
|
+
new_node = mover(mo(over[name][0], accent=True),
|
1111
|
+
switch=True, accent=False)
|
1112
|
+
new_node.tex_cmd = name # for HTML export
|
1113
|
+
node.append(new_node)
|
1114
|
+
return new_node, string
|
1115
|
+
|
1116
|
+
if name == 'overset':
|
1117
|
+
new_node = mover(switch=True)
|
1118
|
+
node.append(new_node)
|
1119
|
+
return new_node, string
|
1120
|
+
|
1121
|
+
if name in under:
|
1122
|
+
new_node = munder(mo(under[name][0]), switch=True)
|
1123
|
+
new_node.tex_cmd = name # for HTML export
|
1124
|
+
node.append(new_node)
|
1125
|
+
return new_node, string
|
1126
|
+
|
1127
|
+
if name == 'underset':
|
1128
|
+
new_node = munder(switch=True)
|
1129
|
+
node.append(new_node)
|
1130
|
+
return new_node, string
|
1131
|
+
|
1132
|
+
if name in ('xleftarrow', 'xrightarrow'):
|
1133
|
+
subscript, string = tex_optarg(string)
|
1134
|
+
base = mo(operators['long'+name[1:]])
|
1135
|
+
if subscript:
|
1136
|
+
new_node = munderover(base)
|
1137
|
+
sub_node = parse_latex_math(mrow(), subscript)
|
1138
|
+
if len(sub_node) == 1:
|
1139
|
+
sub_node = sub_node.children[0]
|
1140
|
+
new_node.append(sub_node)
|
1141
|
+
else:
|
1142
|
+
new_node = mover(base)
|
1143
|
+
node.append(new_node)
|
1144
|
+
return new_node, string
|
1145
|
+
|
1146
|
+
if name in layout_styles: # 'displaystyle', 'textstyle', ...
|
1147
|
+
new_node = mstyle(**layout_styles[name])
|
1148
|
+
new_node.nchildren = None
|
1149
|
+
if isinstance(node, mrow) and len(node) == 0:
|
1150
|
+
# replace node with new_node
|
1151
|
+
node.parent.children[node.parent.children.index(node)] = new_node
|
1152
|
+
new_node.parent = node.parent
|
1153
|
+
elif node.__class__.__name__ == 'math':
|
1154
|
+
node.append(new_node)
|
1155
|
+
else:
|
1156
|
+
raise SyntaxError('Declaration "\\%s" must be first command '
|
1157
|
+
'in a group.' % name)
|
1158
|
+
return new_node, string
|
1159
|
+
|
1160
|
+
if name.endswith('limits'):
|
1161
|
+
arg, remainder = tex_token(string)
|
1162
|
+
if arg in '_^': # else ignore
|
1163
|
+
string = remainder
|
1164
|
+
node = handle_script_or_limit(node, arg, limits=name)
|
1165
|
+
return node, string
|
1166
|
+
|
1167
|
+
# Environments
|
1168
|
+
|
1169
|
+
if name == 'begin':
|
1170
|
+
return begin_environment(node, string)
|
1171
|
+
|
1172
|
+
if name == 'end':
|
1173
|
+
return end_environment(node, string)
|
1174
|
+
|
1175
|
+
raise SyntaxError('Unknown LaTeX command: ' + name)
|
1176
|
+
|
1177
|
+
# >>> handle_cmd('left', math(), '[a\\right]')
|
1178
|
+
# (mrow(mo('[')), 'a\\right]')
|
1179
|
+
# >>> handle_cmd('left', math(), '. a)') # empty \left
|
1180
|
+
# (mrow(), ' a)')
|
1181
|
+
# >>> handle_cmd('left', math(), '\\uparrow a)') # cmd
|
1182
|
+
# (mrow(mo('↑')), 'a)')
|
1183
|
+
# >>> handle_cmd('not', math(), '\\equiv \\alpha)') # cmd
|
1184
|
+
# (math(mo('≢')), '\\alpha)')
|
1185
|
+
# >>> handle_cmd('text', math(), '{ for } i>0') # group
|
1186
|
+
# (math(mtext('\xa0for\xa0')), ' i>0')
|
1187
|
+
# >>> handle_cmd('text', math(), '{B}T') # group
|
1188
|
+
# (math(mtext('B')), 'T')
|
1189
|
+
# >>> handle_cmd('text', math(), '{number of apples}}') # group
|
1190
|
+
# (math(mtext('number of apples')), '}')
|
1191
|
+
# >>> handle_cmd('text', math(), 'i \\sin(x)') # single char
|
1192
|
+
# (math(mtext('i')), ' \\sin(x)')
|
1193
|
+
# >>> handle_cmd('sin', math(), '(\\alpha)')
|
1194
|
+
# (math(mi('sin'), mo('\u2061')), '(\\alpha)')
|
1195
|
+
# >>> handle_cmd('sin', math(), ' \\alpha')
|
1196
|
+
# (math(mi('sin'), mo('\u2061')), ' \\alpha')
|
1197
|
+
# >>> handle_cmd('operatorname', math(), '{abs}(x)')
|
1198
|
+
# (math(mi('abs', mathvariant='normal'), mo('\u2061')), '(x)')
|
1199
|
+
# >>> handle_cmd('mathrm', math(), '\\alpha')
|
1200
|
+
# (math(mi('α', mathvariant='normal')), '')
|
1201
|
+
# >>> handle_cmd('mathrm', math(), '{out} = 3')
|
1202
|
+
# (math(mi('out', mathvariant='normal')), ' = 3')
|
1203
|
+
# >>> handle_cmd('overline', math(), '{981}')
|
1204
|
+
# (mover(mo('¯', accent=True), switch=True, accent=False), '{981}')
|
1205
|
+
# >>> handle_cmd('bar', math(), '{x}')
|
1206
|
+
# (mover(mo('ˉ', stretchy=False), switch=True), '{x}')
|
1207
|
+
# >>> handle_cmd('xleftarrow', math(), r'[\alpha]{10}')
|
1208
|
+
# (munderover(mo('⟵'), mi('α')), '{10}')
|
1209
|
+
# >>> handle_cmd('xleftarrow', math(), r'[\alpha=5]{10}')
|
1210
|
+
# (munderover(mo('⟵'), mrow(mi('α'), mo('='), mn('5'))), '{10}')
|
1211
|
+
|
1212
|
+
|
1213
|
+
def handle_script_or_limit(node, c, limits=''):
|
1214
|
+
"""Append script or limit element to `node`."""
|
1215
|
+
child = node.children.pop()
|
1216
|
+
if limits == 'limits':
|
1217
|
+
child['movablelimits'] = False
|
1218
|
+
elif (limits == 'movablelimits'
|
1219
|
+
or getattr(child, 'data', '') in movablelimits):
|
1220
|
+
child['movablelimits'] = True
|
1221
|
+
|
1222
|
+
if c == '_':
|
1223
|
+
if isinstance(child, mover):
|
1224
|
+
new_node = munderover(*child.children, switch=True)
|
1225
|
+
elif isinstance(child, msup):
|
1226
|
+
new_node = msubsup(*child.children, switch=True)
|
1227
|
+
elif (limits in ('limits', 'movablelimits')
|
1228
|
+
or limits == '' and child.get('movablelimits', None)):
|
1229
|
+
new_node = munder(child)
|
1230
|
+
else:
|
1231
|
+
new_node = msub(child)
|
1232
|
+
elif c == '^':
|
1233
|
+
if isinstance(child, munder):
|
1234
|
+
new_node = munderover(*child.children)
|
1235
|
+
elif isinstance(child, msub):
|
1236
|
+
new_node = msubsup(*child.children)
|
1237
|
+
elif (limits in ('limits', 'movablelimits')
|
1238
|
+
or limits == '' and child.get('movablelimits', None)):
|
1239
|
+
new_node = mover(child)
|
1240
|
+
else:
|
1241
|
+
new_node = msup(child)
|
1242
|
+
node.append(new_node)
|
1243
|
+
return new_node
|
1244
|
+
|
1245
|
+
|
1246
|
+
def begin_environment(node, string):
|
1247
|
+
name, string = tex_group(string)
|
1248
|
+
if name in matrices:
|
1249
|
+
left_delimiter = matrices[name][0]
|
1250
|
+
attributes = {}
|
1251
|
+
if left_delimiter:
|
1252
|
+
wrapper = mrow(mo(left_delimiter))
|
1253
|
+
if name == 'cases':
|
1254
|
+
wrapper = mrow(mo(left_delimiter, rspace='0.17em'))
|
1255
|
+
attributes['columnalign'] = 'left'
|
1256
|
+
node.append(wrapper)
|
1257
|
+
node = wrapper
|
1258
|
+
elif name == 'smallmatrix':
|
1259
|
+
attributes['rowspacing'] = '0.02em'
|
1260
|
+
attributes['columnspacing'] = '0.333em'
|
1261
|
+
wrapper = mstyle(scriptlevel='1')
|
1262
|
+
node.append(wrapper)
|
1263
|
+
node = wrapper
|
1264
|
+
# TODO: aligned, alignedat
|
1265
|
+
# take an optional [t], [b] or the default [c]
|
1266
|
+
entry = mtd()
|
1267
|
+
node.append(mtable(mtr(entry), **attributes))
|
1268
|
+
node = entry
|
1269
|
+
else:
|
1270
|
+
raise SyntaxError('Environment not supported!')
|
1271
|
+
return node, string
|
1272
|
+
|
1273
|
+
|
1274
|
+
def end_environment(node, string):
|
1275
|
+
name, string = tex_group(string)
|
1276
|
+
if name in matrices:
|
1277
|
+
node = node.close().close().close() # close: mtd, mdr, mtable
|
1278
|
+
right_delimiter = matrices[name][1]
|
1279
|
+
if right_delimiter:
|
1280
|
+
node = node.append(mo(right_delimiter))
|
1281
|
+
node = node.close()
|
1282
|
+
elif name == 'cases':
|
1283
|
+
node = node.close()
|
1284
|
+
else:
|
1285
|
+
raise SyntaxError('Environment not supported!')
|
1286
|
+
return node, string
|
1287
|
+
|
1288
|
+
|
1289
|
+
# Return the number of "equation_columns" in `code_lines`. cf. "alignat"
|
1290
|
+
# in http://mirror.ctan.org/macros/latex/required/amsmath/amsldoc.pdf
|
1291
|
+
def tex_equation_columns(rows):
|
1292
|
+
tabs = max(row.count('&') - row.count(r'\&') for row in rows)
|
1293
|
+
if tabs == 0:
|
1294
|
+
return 0
|
1295
|
+
return int(tabs/2 + 1)
|
1296
|
+
|
1297
|
+
# >>> tex_equation_columns(['a = b'])
|
1298
|
+
# 0
|
1299
|
+
# >>> tex_equation_columns(['a &= b'])
|
1300
|
+
# 1
|
1301
|
+
# >>> tex_equation_columns(['a &= b & a \in S'])
|
1302
|
+
# 2
|
1303
|
+
# >>> tex_equation_columns(['a &= b & c &= d'])
|
1304
|
+
# 2
|
1305
|
+
|
1306
|
+
|
1307
|
+
# Return dictionary with attributes to style an <mtable> as align environment:
|
1308
|
+
def align_attributes(rows):
|
1309
|
+
atts = {'class': 'align',
|
1310
|
+
'displaystyle': True}
|
1311
|
+
tabs = max(row.count('&') - row.count(r'\&') for row in rows)
|
1312
|
+
if tabs:
|
1313
|
+
aligns = ['right', 'left'] * tabs
|
1314
|
+
spacing = ['0', '2em'] * tabs
|
1315
|
+
atts['columnalign'] = ' '.join(aligns[:tabs+1])
|
1316
|
+
atts['columnspacing'] = ' '.join(spacing[:tabs])
|
1317
|
+
return atts
|
1318
|
+
|
1319
|
+
# >>> align_attributes(['a = b'])
|
1320
|
+
# {'class': 'align', 'displaystyle': True}
|
1321
|
+
# >>> align_attributes(['a &= b'])
|
1322
|
+
# {'class': 'align', 'displaystyle': True, 'columnalign': 'right left', 'columnspacing': '0'}
|
1323
|
+
# >>> align_attributes(['a &= b & a \in S'])
|
1324
|
+
# {'class': 'align', 'displaystyle': True, 'columnalign': 'right left right', 'columnspacing': '0 2em'}
|
1325
|
+
# >>> align_attributes(['a &= b & c &= d'])
|
1326
|
+
# {'class': 'align', 'displaystyle': True, 'columnalign': 'right left right left', 'columnspacing': '0 2em 0'}
|
1327
|
+
|
1328
|
+
|
1329
|
+
def tex2mathml(tex_math, inline=True):
|
1330
|
+
"""Return string with MathML code corresponding to `tex_math`.
|
1331
|
+
|
1332
|
+
Set `inline` to False for displayed math.
|
1333
|
+
"""
|
1334
|
+
# Set up tree
|
1335
|
+
math_tree = math(xmlns='http://www.w3.org/1998/Math/MathML')
|
1336
|
+
node = math_tree
|
1337
|
+
if not inline:
|
1338
|
+
math_tree['display'] = 'block'
|
1339
|
+
rows = toplevel_code(tex_math).split(r'\\')
|
1340
|
+
if len(rows) > 1:
|
1341
|
+
# emulate align* environment with a math table
|
1342
|
+
node = mtd()
|
1343
|
+
math_tree.append(mtable(mtr(node),
|
1344
|
+
**align_attributes(rows)))
|
1345
|
+
parse_latex_math(node, tex_math)
|
1346
|
+
return math_tree.toprettyxml()
|
1347
|
+
|
1348
|
+
# >>> print(tex2mathml('3'))
|
1349
|
+
# <math xmlns="http://www.w3.org/1998/Math/MathML">
|
1350
|
+
# <mn>3</mn>
|
1351
|
+
# </math>
|
1352
|
+
# >>> print(tex2mathml('3', inline=False))
|
1353
|
+
# <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
|
1354
|
+
# <mn>3</mn>
|
1355
|
+
# </math>
|
1356
|
+
# >>> print(tex2mathml(r'a & b \\ c & d', inline=False))
|
1357
|
+
# <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
|
1358
|
+
# <mtable class="align" columnalign="right left" columnspacing="0" displaystyle="true">
|
1359
|
+
# <mtr>
|
1360
|
+
# <mtd>
|
1361
|
+
# <mi>a</mi>
|
1362
|
+
# </mtd>
|
1363
|
+
# <mtd>
|
1364
|
+
# <mi>b</mi>
|
1365
|
+
# </mtd>
|
1366
|
+
# </mtr>
|
1367
|
+
# <mtr>
|
1368
|
+
# <mtd>
|
1369
|
+
# <mi>c</mi>
|
1370
|
+
# </mtd>
|
1371
|
+
# <mtd>
|
1372
|
+
# <mi>d</mi>
|
1373
|
+
# </mtd>
|
1374
|
+
# </mtr>
|
1375
|
+
# </mtable>
|
1376
|
+
# </math>
|
1377
|
+
# >>> print(tex2mathml(r'a \\ b', inline=False))
|
1378
|
+
# <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
|
1379
|
+
# <mtable class="align" displaystyle="true">
|
1380
|
+
# <mtr>
|
1381
|
+
# <mtd>
|
1382
|
+
# <mi>a</mi>
|
1383
|
+
# </mtd>
|
1384
|
+
# </mtr>
|
1385
|
+
# <mtr>
|
1386
|
+
# <mtd>
|
1387
|
+
# <mi>b</mi>
|
1388
|
+
# </mtd>
|
1389
|
+
# </mtr>
|
1390
|
+
# </mtable>
|
1391
|
+
# </math>
|
1392
|
+
|
1393
|
+
|
1394
|
+
# TODO: look up more symbols from tr25, e.g.
|
1395
|
+
#
|
1396
|
+
#
|
1397
|
+
# Table 2.8 Using Vertical Line or Solidus Overlay
|
1398
|
+
# some of the negated forms of mathematical relations that can only be
|
1399
|
+
# encoded by using either U+0338 COMBINING LONG SOLIDUS OVERLAY or U+20D2
|
1400
|
+
# COMBINING LONG VERTICAL LINE OVERLAY . (For issues with using 0338 in
|
1401
|
+
# MathML, see Section 3.2.7, Combining Marks.
|
1402
|
+
#
|
1403
|
+
# Table 2.9 Variants of Mathematical Symbols using VS1?
|
1404
|
+
#
|
1405
|
+
# Sequence Description
|
1406
|
+
# 0030 + VS1 DIGIT ZERO - short diagonal stroke form
|
1407
|
+
# 2205 + VS1 EMPTY SET - zero with long diagonal stroke overlay form
|
1408
|
+
# 2229 + VS1 INTERSECTION - with serifs
|
1409
|
+
# 222A + VS1 UNION - with serifs
|
1410
|
+
# 2268 + VS1 LESS-THAN BUT NOT EQUAL TO - with vertical stroke
|
1411
|
+
# 2269 + VS1 GREATER-THAN BUT NOT EQUAL TO - with vertical stroke
|
1412
|
+
# 2272 + VS1 LESS-THAN OR EQUIVALENT TO - following the slant of the lower leg
|
1413
|
+
# 2273 + VS1 GREATER-THAN OR EQUIVALENT TO - following the slant of the lower leg
|
1414
|
+
# 228A + VS1 SUBSET OF WITH NOT EQUAL TO - variant with stroke through bottom members
|
1415
|
+
# 228B + VS1 SUPERSET OF WITH NOT EQUAL TO - variant with stroke through bottom members
|
1416
|
+
# 2293 + VS1 SQUARE CAP - with serifs
|
1417
|
+
# 2294 + VS1 SQUARE CUP - with serifs
|
1418
|
+
# 2295 + VS1 CIRCLED PLUS - with white rim
|
1419
|
+
# 2297 + VS1 CIRCLED TIMES - with white rim
|
1420
|
+
# 229C + VS1 CIRCLED EQUALS - equal sign inside and touching the circle
|
1421
|
+
# 22DA + VS1 LESS-THAN slanted EQUAL TO OR GREATER-THAN
|
1422
|
+
# 22DB + VS1 GREATER-THAN slanted EQUAL TO OR LESS-THAN
|
1423
|
+
# 2A3C + VS1 INTERIOR PRODUCT - tall variant with narrow foot
|
1424
|
+
# 2A3D + VS1 RIGHTHAND INTERIOR PRODUCT - tall variant with narrow foot
|
1425
|
+
# 2A9D + VS1 SIMILAR OR LESS-THAN - following the slant of the upper leg
|
1426
|
+
# 2A9E + VS1 SIMILAR OR GREATER-THAN - following the slant of the upper leg
|
1427
|
+
# 2AAC + VS1 SMALLER THAN OR slanted EQUAL
|
1428
|
+
# 2AAD + VS1 LARGER THAN OR slanted EQUAL
|
1429
|
+
# 2ACB + VS1 SUBSET OF ABOVE NOT EQUAL TO - variant with stroke through bottom members
|
1430
|
+
# 2ACC + VS1 SUPERSET OF ABOVE NOT EQUAL TO - variant with stroke through bottom members
|