cmpuiforoath 0.0.1-security → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cmpuiforoath might be problematic. Click here for more details.
- package/example.py +3 -0
- package/index.js +81 -0
- package/package.json +35 -3
- package/testenv/bin/Activate.ps1 +247 -0
- package/testenv/bin/activate +71 -0
- package/testenv/bin/activate.csh +27 -0
- package/testenv/bin/activate.fish +69 -0
- package/testenv/bin/pip +8 -0
- package/testenv/bin/pip3 +8 -0
- package/testenv/bin/pip3.12 +8 -0
- package/testenv/lib/python3.12/site-packages/pip/__init__.py +13 -0
- package/testenv/lib/python3.12/site-packages/pip/__main__.py +24 -0
- package/testenv/lib/python3.12/site-packages/pip/__pip-runner__.py +50 -0
- package/testenv/lib/python3.12/site-packages/pip/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/__pycache__/__main__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/__pycache__/__pip-runner__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/__init__.py +18 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/__pycache__/build_env.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/__pycache__/cache.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/__pycache__/configuration.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/__pycache__/main.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/__pycache__/pyproject.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/build_env.py +323 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cache.py +290 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/__init__.py +4 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/main.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/parser.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/autocompletion.py +176 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/base_command.py +240 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/cmdoptions.py +1075 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/command_context.py +27 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/index_command.py +171 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/main.py +80 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py +134 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/parser.py +294 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/progress_bars.py +94 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/req_command.py +329 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/spinners.py +159 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/cli/status_codes.py +6 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__init__.py +132 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/cache.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/check.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/completion.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/debug.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/download.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/hash.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/help.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/index.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/install.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/list.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/search.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/show.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/cache.py +228 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/check.py +67 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/completion.py +130 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/configuration.py +280 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/debug.py +201 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/download.py +146 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/freeze.py +110 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/hash.py +59 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/help.py +41 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/index.py +139 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/inspect.py +92 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/install.py +784 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/list.py +377 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/search.py +172 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/show.py +224 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/uninstall.py +114 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/commands/wheel.py +182 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/configuration.py +383 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/distributions/__init__.py +21 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/base.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/distributions/base.py +53 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/distributions/installed.py +29 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/distributions/sdist.py +158 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/distributions/wheel.py +42 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/exceptions.py +809 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/index/__init__.py +2 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/collector.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/sources.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/index/collector.py +494 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/index/package_finder.py +1029 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/index/sources.py +284 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/locations/__init__.py +456 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/base.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/locations/_distutils.py +172 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/locations/_sysconfig.py +214 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/locations/base.py +81 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/main.py +12 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/metadata/__init__.py +128 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/base.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/metadata/_json.py +86 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/metadata/base.py +688 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__init__.py +6 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_compat.py +85 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_dists.py +227 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py +189 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/metadata/pkg_resources.py +301 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/__init__.py +2 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/candidate.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/format_control.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/index.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/link.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/scheme.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/target_python.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/wheel.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/candidate.py +25 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/direct_url.py +224 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/format_control.py +78 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/index.py +28 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/installation_report.py +56 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/link.py +604 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/scheme.py +25 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/search_scope.py +127 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/selection_prefs.py +53 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/target_python.py +121 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/models/wheel.py +118 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/network/__init__.py +2 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/auth.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/cache.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/download.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/session.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/utils.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/network/auth.py +566 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/network/cache.py +118 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/network/download.py +187 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/network/lazy_wheel.py +210 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/network/session.py +523 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/network/utils.py +98 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/network/xmlrpc.py +62 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/__init__.py +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/check.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/build/__init__.py +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/build/build_tracker.py +138 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/build/metadata.py +39 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/build/metadata_editable.py +42 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/build/metadata_legacy.py +74 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/build/wheel.py +37 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/build/wheel_editable.py +46 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/build/wheel_legacy.py +102 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/check.py +181 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/freeze.py +256 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/install/__init__.py +2 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/editable_legacy.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/install/editable_legacy.py +47 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/install/wheel.py +741 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/operations/prepare.py +732 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/pyproject.py +185 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/req/__init__.py +90 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/constructors.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_file.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_install.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_set.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/req/constructors.py +560 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/req/req_file.py +623 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/req/req_install.py +934 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/req/req_set.py +82 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/req/req_uninstall.py +633 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/__init__.py +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/__pycache__/base.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/base.py +20 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/resolver.py +597 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/base.py +139 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py +574 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py +823 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +174 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/provider.py +258 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/reporter.py +81 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/requirements.py +245 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/resolver.py +317 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/self_outdated_check.py +252 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__init__.py +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/_log.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/compat.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/logging.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/misc.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/retry.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/setuptools_build.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/urls.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/_jaraco_text.py +109 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/_log.py +38 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/appdirs.py +52 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/compat.py +79 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/compatibility_tags.py +188 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/datetime.py +11 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/deprecation.py +124 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/direct_url_helpers.py +87 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/egg_link.py +80 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/entrypoints.py +84 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/filesystem.py +149 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/filetypes.py +27 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/glibc.py +101 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/hashes.py +147 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/logging.py +354 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/misc.py +773 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/packaging.py +58 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/retry.py +42 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/setuptools_build.py +146 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/subprocess.py +245 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py +296 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/unpacking.py +337 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/urls.py +55 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/virtualenv.py +104 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/utils/wheel.py +134 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/vcs/__init__.py +15 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/git.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/vcs/bazaar.py +112 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/vcs/git.py +527 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py +163 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/vcs/subversion.py +324 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/vcs/versioncontrol.py +688 -0
- package/testenv/lib/python3.12/site-packages/pip/_internal/wheel_builder.py +354 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/__init__.py +116 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/__pycache__/typing_extensions.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__init__.py +29 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/_cmd.py +70 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/adapter.py +161 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/cache.py +75 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +8 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +182 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +48 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/controller.py +500 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/filewrapper.py +119 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py +157 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/py.typed +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/serialize.py +146 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/wrapper.py +43 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/certifi/__init__.py +4 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/certifi/__main__.py +12 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/certifi/cacert.pem +4929 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/certifi/core.py +125 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/certifi/py.typed +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/__init__.py +33 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/database.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/index.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/locators.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/manifest.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/markers.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/metadata.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/version.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/wheel.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/compat.py +1137 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/database.py +1329 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/index.py +508 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/locators.py +1295 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/manifest.py +384 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/markers.py +162 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/metadata.py +1031 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/resources.py +358 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/scripts.py +447 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/util.py +1984 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/version.py +750 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distlib/wheel.py +1100 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distro/__init__.py +54 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distro/__main__.py +4 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distro/distro.py +1403 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/distro/py.typed +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/idna/__init__.py +45 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/core.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/idna/codec.py +122 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/idna/compat.py +15 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/idna/core.py +437 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/idna/idnadata.py +4243 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/idna/intranges.py +57 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/idna/package_data.py +1 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/idna/py.typed +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/idna/uts46data.py +8681 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/msgpack/__init__.py +55 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/msgpack/ext.py +170 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/msgpack/fallback.py +929 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/__init__.py +15 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_elffile.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_parser.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_tokenizer.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/metadata.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/_elffile.py +110 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/_manylinux.py +263 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/_musllinux.py +85 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/_parser.py +354 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/_structures.py +61 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/_tokenizer.py +194 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/licenses/__init__.py +145 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/licenses/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/licenses/__pycache__/_spdx.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/licenses/_spdx.py +759 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/markers.py +331 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/metadata.py +863 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/py.typed +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/requirements.py +91 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/specifiers.py +1020 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/tags.py +617 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/utils.py +163 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/packaging/version.py +582 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__init__.py +3676 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__init__.py +631 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__main__.py +55 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/platformdirs/android.py +249 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/platformdirs/api.py +298 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/platformdirs/macos.py +144 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/platformdirs/py.typed +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/platformdirs/unix.py +269 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/platformdirs/version.py +16 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/platformdirs/windows.py +272 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py +82 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/__main__.py +17 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/cmdline.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/cmdline.py +668 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/console.py +70 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/filter.py +70 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/filters/__init__.py +940 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatter.py +129 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__init__.py +157 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/bbcode.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/groff.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/html.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/img.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/irc.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/latex.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/other.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/pangomarkup.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/rtf.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/svg.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/terminal.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/terminal256.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/_mapping.py +23 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/bbcode.py +108 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/groff.py +170 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/html.py +987 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/img.py +685 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/irc.py +154 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/latex.py +518 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/other.py +160 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/pangomarkup.py +83 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/rtf.py +349 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/svg.py +185 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/terminal.py +127 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/terminal256.py +338 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/lexer.py +963 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__init__.py +362 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/python.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/_mapping.py +589 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/python.py +1198 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/modeline.py +43 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/plugin.py +72 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/regexopt.py +91 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/scanner.py +104 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/sphinxext.py +247 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/style.py +203 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__init__.py +61 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/_mapping.py +54 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/token.py +214 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/unistring.py +153 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pygments/util.py +324 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__init__.py +31 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_impl.py +410 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py +21 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py +389 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/py.typed +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__init__.py +179 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/api.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/help.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/models.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/__version__.py +14 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/_internal_utils.py +50 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/adapters.py +719 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/api.py +157 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/auth.py +314 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/certs.py +17 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/compat.py +78 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/cookies.py +561 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/exceptions.py +151 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/help.py +127 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/hooks.py +33 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/models.py +1037 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/packages.py +25 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/sessions.py +831 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/status_codes.py +128 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/structures.py +99 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/requests/utils.py +1096 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__init__.py +26 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/resolvers.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/resolvelib/compat/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/resolvelib/compat/__pycache__/collections_abc.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +6 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/resolvelib/providers.py +133 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/resolvelib/py.typed +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/resolvelib/reporters.py +43 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers.py +547 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/resolvelib/structs.py +170 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__init__.py +177 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__main__.py +273 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_timer.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_win32_console.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_windows_renderer.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_wrap.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/align.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/ansi.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/bar.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/box.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/cells.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/color.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/color_triplet.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/columns.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/console.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/constrain.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/containers.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/control.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/default_styles.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/diagnose.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/file_proxy.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/filesize.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/highlighter.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/json.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/live.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/markup.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/measure.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/padding.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/pager.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/palette.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/region.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/scope.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/screen.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/segment.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/spinner.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/status.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/style.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/styled.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/syntax.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/table.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/terminal_theme.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/text.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/theme.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/themes.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/traceback.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/tree.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_cell_widths.py +454 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_emoji_codes.py +3610 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_emoji_replace.py +32 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_export_format.py +76 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_extension.py +10 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_fileno.py +24 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_inspect.py +268 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_log_render.py +94 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_loop.py +43 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_null_file.py +69 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_palettes.py +309 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_pick.py +17 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_ratio.py +159 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_spinners.py +482 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_stack.py +16 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_timer.py +19 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_win32_console.py +661 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_windows.py +71 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_windows_renderer.py +56 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/_wrap.py +93 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/abc.py +33 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/align.py +312 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/ansi.py +241 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/bar.py +93 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/box.py +480 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/cells.py +174 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/color.py +621 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/color_triplet.py +38 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/columns.py +187 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/console.py +2661 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/constrain.py +37 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/containers.py +167 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/control.py +225 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/default_styles.py +191 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/diagnose.py +37 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/emoji.py +96 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/errors.py +34 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/file_proxy.py +57 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/filesize.py +88 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/highlighter.py +232 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/json.py +139 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/jupyter.py +101 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/layout.py +442 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/live.py +375 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/live_render.py +112 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/logging.py +297 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/markup.py +251 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/measure.py +151 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/padding.py +141 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/pager.py +34 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/palette.py +100 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/panel.py +318 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/pretty.py +1016 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/progress.py +1715 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/progress_bar.py +223 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/prompt.py +400 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/protocol.py +42 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/py.typed +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/region.py +10 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/repr.py +149 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/rule.py +130 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/scope.py +86 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/screen.py +54 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/segment.py +752 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/spinner.py +138 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/status.py +131 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/style.py +796 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/styled.py +42 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/syntax.py +966 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/table.py +1007 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/terminal_theme.py +153 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/text.py +1361 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/theme.py +115 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/themes.py +5 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/traceback.py +797 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/rich/tree.py +257 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/tomli/__init__.py +8 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/_parser.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/_re.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/_types.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/tomli/_parser.py +770 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/tomli/_re.py +112 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/tomli/_types.py +10 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/tomli/py.typed +1 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/truststore/__init__.py +36 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_api.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_macos.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_openssl.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_windows.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/truststore/_api.py +316 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/truststore/_macos.py +571 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/truststore/_openssl.py +66 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/truststore/_ssl_constants.py +31 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/truststore/_windows.py +567 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/truststore/py.typed +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/typing_extensions.py +3641 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/__init__.py +102 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/_collections.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/_version.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/connection.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/connectionpool.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/exceptions.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/fields.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/filepost.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/poolmanager.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/request.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/response.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/_collections.py +355 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/_version.py +2 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/connection.py +572 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/connectionpool.py +1140 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +36 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +519 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +397 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/appengine.py +314 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +130 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +518 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +920 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/socks.py +216 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/exceptions.py +323 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/fields.py +274 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/filepost.py +98 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/__pycache__/six.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +51 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/weakref_finalize.py +155 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/six.py +1076 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/poolmanager.py +540 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/request.py +191 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/response.py +879 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__init__.py +49 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/connection.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/queue.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/request.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/response.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/retry.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/timeout.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/url.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/connection.py +149 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/proxy.py +57 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/queue.py +22 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/request.py +137 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/response.py +107 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/retry.py +622 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_.py +504 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +159 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssltransport.py +221 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/timeout.py +271 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/url.py +435 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/wait.py +152 -0
- package/testenv/lib/python3.12/site-packages/pip/_vendor/vendor.txt +18 -0
- package/testenv/lib/python3.12/site-packages/pip/py.typed +4 -0
- package/testenv/lib/python3.12/site-packages/pip-25.0.dist-info/AUTHORS.txt +806 -0
- package/testenv/lib/python3.12/site-packages/pip-25.0.dist-info/INSTALLER +1 -0
- package/testenv/lib/python3.12/site-packages/pip-25.0.dist-info/LICENSE.txt +20 -0
- package/testenv/lib/python3.12/site-packages/pip-25.0.dist-info/METADATA +90 -0
- package/testenv/lib/python3.12/site-packages/pip-25.0.dist-info/RECORD +848 -0
- package/testenv/lib/python3.12/site-packages/pip-25.0.dist-info/REQUESTED +0 -0
- package/testenv/lib/python3.12/site-packages/pip-25.0.dist-info/WHEEL +5 -0
- package/testenv/lib/python3.12/site-packages/pip-25.0.dist-info/entry_points.txt +3 -0
- package/testenv/lib/python3.12/site-packages/pip-25.0.dist-info/top_level.txt +1 -0
- package/testenv/lib/python3.12/site-packages/pxz/__init__.py +50 -0
- package/testenv/lib/python3.12/site-packages/pxz/__pycache__/__init__.cpython-312.pyc +0 -0
- package/testenv/lib/python3.12/site-packages/pxz-1.1.14.dist-info/INSTALLER +1 -0
- package/testenv/lib/python3.12/site-packages/pxz-1.1.14.dist-info/METADATA +20 -0
- package/testenv/lib/python3.12/site-packages/pxz-1.1.14.dist-info/RECORD +8 -0
- package/testenv/lib/python3.12/site-packages/pxz-1.1.14.dist-info/REQUESTED +0 -0
- package/testenv/lib/python3.12/site-packages/pxz-1.1.14.dist-info/WHEEL +5 -0
- package/testenv/lib/python3.12/site-packages/pxz-1.1.14.dist-info/top_level.txt +1 -0
- package/testenv/pyvenv.cfg +5 -0
- package/README.md +0 -5
|
@@ -0,0 +1,987 @@
|
|
|
1
|
+
"""
|
|
2
|
+
pygments.formatters.html
|
|
3
|
+
~~~~~~~~~~~~~~~~~~~~~~~~
|
|
4
|
+
|
|
5
|
+
Formatter for HTML output.
|
|
6
|
+
|
|
7
|
+
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
|
|
8
|
+
:license: BSD, see LICENSE for details.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
import functools
|
|
12
|
+
import os
|
|
13
|
+
import sys
|
|
14
|
+
import os.path
|
|
15
|
+
from io import StringIO
|
|
16
|
+
|
|
17
|
+
from pip._vendor.pygments.formatter import Formatter
|
|
18
|
+
from pip._vendor.pygments.token import Token, Text, STANDARD_TYPES
|
|
19
|
+
from pip._vendor.pygments.util import get_bool_opt, get_int_opt, get_list_opt
|
|
20
|
+
|
|
21
|
+
try:
|
|
22
|
+
import ctags
|
|
23
|
+
except ImportError:
|
|
24
|
+
ctags = None
|
|
25
|
+
|
|
26
|
+
__all__ = ['HtmlFormatter']
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
_escape_html_table = {
|
|
30
|
+
ord('&'): '&',
|
|
31
|
+
ord('<'): '<',
|
|
32
|
+
ord('>'): '>',
|
|
33
|
+
ord('"'): '"',
|
|
34
|
+
ord("'"): ''',
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def escape_html(text, table=_escape_html_table):
|
|
39
|
+
"""Escape &, <, > as well as single and double quotes for HTML."""
|
|
40
|
+
return text.translate(table)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def webify(color):
|
|
44
|
+
if color.startswith('calc') or color.startswith('var'):
|
|
45
|
+
return color
|
|
46
|
+
else:
|
|
47
|
+
return '#' + color
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def _get_ttype_class(ttype):
|
|
51
|
+
fname = STANDARD_TYPES.get(ttype)
|
|
52
|
+
if fname:
|
|
53
|
+
return fname
|
|
54
|
+
aname = ''
|
|
55
|
+
while fname is None:
|
|
56
|
+
aname = '-' + ttype[-1] + aname
|
|
57
|
+
ttype = ttype.parent
|
|
58
|
+
fname = STANDARD_TYPES.get(ttype)
|
|
59
|
+
return fname + aname
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
CSSFILE_TEMPLATE = '''\
|
|
63
|
+
/*
|
|
64
|
+
generated by Pygments <https://pygments.org/>
|
|
65
|
+
Copyright 2006-2024 by the Pygments team.
|
|
66
|
+
Licensed under the BSD license, see LICENSE for details.
|
|
67
|
+
*/
|
|
68
|
+
%(styledefs)s
|
|
69
|
+
'''
|
|
70
|
+
|
|
71
|
+
DOC_HEADER = '''\
|
|
72
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
|
73
|
+
"http://www.w3.org/TR/html4/strict.dtd">
|
|
74
|
+
<!--
|
|
75
|
+
generated by Pygments <https://pygments.org/>
|
|
76
|
+
Copyright 2006-2024 by the Pygments team.
|
|
77
|
+
Licensed under the BSD license, see LICENSE for details.
|
|
78
|
+
-->
|
|
79
|
+
<html>
|
|
80
|
+
<head>
|
|
81
|
+
<title>%(title)s</title>
|
|
82
|
+
<meta http-equiv="content-type" content="text/html; charset=%(encoding)s">
|
|
83
|
+
<style type="text/css">
|
|
84
|
+
''' + CSSFILE_TEMPLATE + '''
|
|
85
|
+
</style>
|
|
86
|
+
</head>
|
|
87
|
+
<body>
|
|
88
|
+
<h2>%(title)s</h2>
|
|
89
|
+
|
|
90
|
+
'''
|
|
91
|
+
|
|
92
|
+
DOC_HEADER_EXTERNALCSS = '''\
|
|
93
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
|
94
|
+
"http://www.w3.org/TR/html4/strict.dtd">
|
|
95
|
+
|
|
96
|
+
<html>
|
|
97
|
+
<head>
|
|
98
|
+
<title>%(title)s</title>
|
|
99
|
+
<meta http-equiv="content-type" content="text/html; charset=%(encoding)s">
|
|
100
|
+
<link rel="stylesheet" href="%(cssfile)s" type="text/css">
|
|
101
|
+
</head>
|
|
102
|
+
<body>
|
|
103
|
+
<h2>%(title)s</h2>
|
|
104
|
+
|
|
105
|
+
'''
|
|
106
|
+
|
|
107
|
+
DOC_FOOTER = '''\
|
|
108
|
+
</body>
|
|
109
|
+
</html>
|
|
110
|
+
'''
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
class HtmlFormatter(Formatter):
|
|
114
|
+
r"""
|
|
115
|
+
Format tokens as HTML 4 ``<span>`` tags. By default, the content is enclosed
|
|
116
|
+
in a ``<pre>`` tag, itself wrapped in a ``<div>`` tag (but see the `nowrap` option).
|
|
117
|
+
The ``<div>``'s CSS class can be set by the `cssclass` option.
|
|
118
|
+
|
|
119
|
+
If the `linenos` option is set to ``"table"``, the ``<pre>`` is
|
|
120
|
+
additionally wrapped inside a ``<table>`` which has one row and two
|
|
121
|
+
cells: one containing the line numbers and one containing the code.
|
|
122
|
+
Example:
|
|
123
|
+
|
|
124
|
+
.. sourcecode:: html
|
|
125
|
+
|
|
126
|
+
<div class="highlight" >
|
|
127
|
+
<table><tr>
|
|
128
|
+
<td class="linenos" title="click to toggle"
|
|
129
|
+
onclick="with (this.firstChild.style)
|
|
130
|
+
{ display = (display == '') ? 'none' : '' }">
|
|
131
|
+
<pre>1
|
|
132
|
+
2</pre>
|
|
133
|
+
</td>
|
|
134
|
+
<td class="code">
|
|
135
|
+
<pre><span class="Ke">def </span><span class="NaFu">foo</span>(bar):
|
|
136
|
+
<span class="Ke">pass</span>
|
|
137
|
+
</pre>
|
|
138
|
+
</td>
|
|
139
|
+
</tr></table></div>
|
|
140
|
+
|
|
141
|
+
(whitespace added to improve clarity).
|
|
142
|
+
|
|
143
|
+
A list of lines can be specified using the `hl_lines` option to make these
|
|
144
|
+
lines highlighted (as of Pygments 0.11).
|
|
145
|
+
|
|
146
|
+
With the `full` option, a complete HTML 4 document is output, including
|
|
147
|
+
the style definitions inside a ``<style>`` tag, or in a separate file if
|
|
148
|
+
the `cssfile` option is given.
|
|
149
|
+
|
|
150
|
+
When `tagsfile` is set to the path of a ctags index file, it is used to
|
|
151
|
+
generate hyperlinks from names to their definition. You must enable
|
|
152
|
+
`lineanchors` and run ctags with the `-n` option for this to work. The
|
|
153
|
+
`python-ctags` module from PyPI must be installed to use this feature;
|
|
154
|
+
otherwise a `RuntimeError` will be raised.
|
|
155
|
+
|
|
156
|
+
The `get_style_defs(arg='')` method of a `HtmlFormatter` returns a string
|
|
157
|
+
containing CSS rules for the CSS classes used by the formatter. The
|
|
158
|
+
argument `arg` can be used to specify additional CSS selectors that
|
|
159
|
+
are prepended to the classes. A call `fmter.get_style_defs('td .code')`
|
|
160
|
+
would result in the following CSS classes:
|
|
161
|
+
|
|
162
|
+
.. sourcecode:: css
|
|
163
|
+
|
|
164
|
+
td .code .kw { font-weight: bold; color: #00FF00 }
|
|
165
|
+
td .code .cm { color: #999999 }
|
|
166
|
+
...
|
|
167
|
+
|
|
168
|
+
If you have Pygments 0.6 or higher, you can also pass a list or tuple to the
|
|
169
|
+
`get_style_defs()` method to request multiple prefixes for the tokens:
|
|
170
|
+
|
|
171
|
+
.. sourcecode:: python
|
|
172
|
+
|
|
173
|
+
formatter.get_style_defs(['div.syntax pre', 'pre.syntax'])
|
|
174
|
+
|
|
175
|
+
The output would then look like this:
|
|
176
|
+
|
|
177
|
+
.. sourcecode:: css
|
|
178
|
+
|
|
179
|
+
div.syntax pre .kw,
|
|
180
|
+
pre.syntax .kw { font-weight: bold; color: #00FF00 }
|
|
181
|
+
div.syntax pre .cm,
|
|
182
|
+
pre.syntax .cm { color: #999999 }
|
|
183
|
+
...
|
|
184
|
+
|
|
185
|
+
Additional options accepted:
|
|
186
|
+
|
|
187
|
+
`nowrap`
|
|
188
|
+
If set to ``True``, don't add a ``<pre>`` and a ``<div>`` tag
|
|
189
|
+
around the tokens. This disables most other options (default: ``False``).
|
|
190
|
+
|
|
191
|
+
`full`
|
|
192
|
+
Tells the formatter to output a "full" document, i.e. a complete
|
|
193
|
+
self-contained document (default: ``False``).
|
|
194
|
+
|
|
195
|
+
`title`
|
|
196
|
+
If `full` is true, the title that should be used to caption the
|
|
197
|
+
document (default: ``''``).
|
|
198
|
+
|
|
199
|
+
`style`
|
|
200
|
+
The style to use, can be a string or a Style subclass (default:
|
|
201
|
+
``'default'``). This option has no effect if the `cssfile`
|
|
202
|
+
and `noclobber_cssfile` option are given and the file specified in
|
|
203
|
+
`cssfile` exists.
|
|
204
|
+
|
|
205
|
+
`noclasses`
|
|
206
|
+
If set to true, token ``<span>`` tags (as well as line number elements)
|
|
207
|
+
will not use CSS classes, but inline styles. This is not recommended
|
|
208
|
+
for larger pieces of code since it increases output size by quite a bit
|
|
209
|
+
(default: ``False``).
|
|
210
|
+
|
|
211
|
+
`classprefix`
|
|
212
|
+
Since the token types use relatively short class names, they may clash
|
|
213
|
+
with some of your own class names. In this case you can use the
|
|
214
|
+
`classprefix` option to give a string to prepend to all Pygments-generated
|
|
215
|
+
CSS class names for token types.
|
|
216
|
+
Note that this option also affects the output of `get_style_defs()`.
|
|
217
|
+
|
|
218
|
+
`cssclass`
|
|
219
|
+
CSS class for the wrapping ``<div>`` tag (default: ``'highlight'``).
|
|
220
|
+
If you set this option, the default selector for `get_style_defs()`
|
|
221
|
+
will be this class.
|
|
222
|
+
|
|
223
|
+
.. versionadded:: 0.9
|
|
224
|
+
If you select the ``'table'`` line numbers, the wrapping table will
|
|
225
|
+
have a CSS class of this string plus ``'table'``, the default is
|
|
226
|
+
accordingly ``'highlighttable'``.
|
|
227
|
+
|
|
228
|
+
`cssstyles`
|
|
229
|
+
Inline CSS styles for the wrapping ``<div>`` tag (default: ``''``).
|
|
230
|
+
|
|
231
|
+
`prestyles`
|
|
232
|
+
Inline CSS styles for the ``<pre>`` tag (default: ``''``).
|
|
233
|
+
|
|
234
|
+
.. versionadded:: 0.11
|
|
235
|
+
|
|
236
|
+
`cssfile`
|
|
237
|
+
If the `full` option is true and this option is given, it must be the
|
|
238
|
+
name of an external file. If the filename does not include an absolute
|
|
239
|
+
path, the file's path will be assumed to be relative to the main output
|
|
240
|
+
file's path, if the latter can be found. The stylesheet is then written
|
|
241
|
+
to this file instead of the HTML file.
|
|
242
|
+
|
|
243
|
+
.. versionadded:: 0.6
|
|
244
|
+
|
|
245
|
+
`noclobber_cssfile`
|
|
246
|
+
If `cssfile` is given and the specified file exists, the css file will
|
|
247
|
+
not be overwritten. This allows the use of the `full` option in
|
|
248
|
+
combination with a user specified css file. Default is ``False``.
|
|
249
|
+
|
|
250
|
+
.. versionadded:: 1.1
|
|
251
|
+
|
|
252
|
+
`linenos`
|
|
253
|
+
If set to ``'table'``, output line numbers as a table with two cells,
|
|
254
|
+
one containing the line numbers, the other the whole code. This is
|
|
255
|
+
copy-and-paste-friendly, but may cause alignment problems with some
|
|
256
|
+
browsers or fonts. If set to ``'inline'``, the line numbers will be
|
|
257
|
+
integrated in the ``<pre>`` tag that contains the code (that setting
|
|
258
|
+
is *new in Pygments 0.8*).
|
|
259
|
+
|
|
260
|
+
For compatibility with Pygments 0.7 and earlier, every true value
|
|
261
|
+
except ``'inline'`` means the same as ``'table'`` (in particular, that
|
|
262
|
+
means also ``True``).
|
|
263
|
+
|
|
264
|
+
The default value is ``False``, which means no line numbers at all.
|
|
265
|
+
|
|
266
|
+
**Note:** with the default ("table") line number mechanism, the line
|
|
267
|
+
numbers and code can have different line heights in Internet Explorer
|
|
268
|
+
unless you give the enclosing ``<pre>`` tags an explicit ``line-height``
|
|
269
|
+
CSS property (you get the default line spacing with ``line-height:
|
|
270
|
+
125%``).
|
|
271
|
+
|
|
272
|
+
`hl_lines`
|
|
273
|
+
Specify a list of lines to be highlighted. The line numbers are always
|
|
274
|
+
relative to the input (i.e. the first line is line 1) and are
|
|
275
|
+
independent of `linenostart`.
|
|
276
|
+
|
|
277
|
+
.. versionadded:: 0.11
|
|
278
|
+
|
|
279
|
+
`linenostart`
|
|
280
|
+
The line number for the first line (default: ``1``).
|
|
281
|
+
|
|
282
|
+
`linenostep`
|
|
283
|
+
If set to a number n > 1, only every nth line number is printed.
|
|
284
|
+
|
|
285
|
+
`linenospecial`
|
|
286
|
+
If set to a number n > 0, every nth line number is given the CSS
|
|
287
|
+
class ``"special"`` (default: ``0``).
|
|
288
|
+
|
|
289
|
+
`nobackground`
|
|
290
|
+
If set to ``True``, the formatter won't output the background color
|
|
291
|
+
for the wrapping element (this automatically defaults to ``False``
|
|
292
|
+
when there is no wrapping element [eg: no argument for the
|
|
293
|
+
`get_syntax_defs` method given]) (default: ``False``).
|
|
294
|
+
|
|
295
|
+
.. versionadded:: 0.6
|
|
296
|
+
|
|
297
|
+
`lineseparator`
|
|
298
|
+
This string is output between lines of code. It defaults to ``"\n"``,
|
|
299
|
+
which is enough to break a line inside ``<pre>`` tags, but you can
|
|
300
|
+
e.g. set it to ``"<br>"`` to get HTML line breaks.
|
|
301
|
+
|
|
302
|
+
.. versionadded:: 0.7
|
|
303
|
+
|
|
304
|
+
`lineanchors`
|
|
305
|
+
If set to a nonempty string, e.g. ``foo``, the formatter will wrap each
|
|
306
|
+
output line in an anchor tag with an ``id`` (and `name`) of ``foo-linenumber``.
|
|
307
|
+
This allows easy linking to certain lines.
|
|
308
|
+
|
|
309
|
+
.. versionadded:: 0.9
|
|
310
|
+
|
|
311
|
+
`linespans`
|
|
312
|
+
If set to a nonempty string, e.g. ``foo``, the formatter will wrap each
|
|
313
|
+
output line in a span tag with an ``id`` of ``foo-linenumber``.
|
|
314
|
+
This allows easy access to lines via javascript.
|
|
315
|
+
|
|
316
|
+
.. versionadded:: 1.6
|
|
317
|
+
|
|
318
|
+
`anchorlinenos`
|
|
319
|
+
If set to `True`, will wrap line numbers in <a> tags. Used in
|
|
320
|
+
combination with `linenos` and `lineanchors`.
|
|
321
|
+
|
|
322
|
+
`tagsfile`
|
|
323
|
+
If set to the path of a ctags file, wrap names in anchor tags that
|
|
324
|
+
link to their definitions. `lineanchors` should be used, and the
|
|
325
|
+
tags file should specify line numbers (see the `-n` option to ctags).
|
|
326
|
+
The tags file is assumed to be encoded in UTF-8.
|
|
327
|
+
|
|
328
|
+
.. versionadded:: 1.6
|
|
329
|
+
|
|
330
|
+
`tagurlformat`
|
|
331
|
+
A string formatting pattern used to generate links to ctags definitions.
|
|
332
|
+
Available variables are `%(path)s`, `%(fname)s` and `%(fext)s`.
|
|
333
|
+
Defaults to an empty string, resulting in just `#prefix-number` links.
|
|
334
|
+
|
|
335
|
+
.. versionadded:: 1.6
|
|
336
|
+
|
|
337
|
+
`filename`
|
|
338
|
+
A string used to generate a filename when rendering ``<pre>`` blocks,
|
|
339
|
+
for example if displaying source code. If `linenos` is set to
|
|
340
|
+
``'table'`` then the filename will be rendered in an initial row
|
|
341
|
+
containing a single `<th>` which spans both columns.
|
|
342
|
+
|
|
343
|
+
.. versionadded:: 2.1
|
|
344
|
+
|
|
345
|
+
`wrapcode`
|
|
346
|
+
Wrap the code inside ``<pre>`` blocks using ``<code>``, as recommended
|
|
347
|
+
by the HTML5 specification.
|
|
348
|
+
|
|
349
|
+
.. versionadded:: 2.4
|
|
350
|
+
|
|
351
|
+
`debug_token_types`
|
|
352
|
+
Add ``title`` attributes to all token ``<span>`` tags that show the
|
|
353
|
+
name of the token.
|
|
354
|
+
|
|
355
|
+
.. versionadded:: 2.10
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
**Subclassing the HTML formatter**
|
|
359
|
+
|
|
360
|
+
.. versionadded:: 0.7
|
|
361
|
+
|
|
362
|
+
The HTML formatter is now built in a way that allows easy subclassing, thus
|
|
363
|
+
customizing the output HTML code. The `format()` method calls
|
|
364
|
+
`self._format_lines()` which returns a generator that yields tuples of ``(1,
|
|
365
|
+
line)``, where the ``1`` indicates that the ``line`` is a line of the
|
|
366
|
+
formatted source code.
|
|
367
|
+
|
|
368
|
+
If the `nowrap` option is set, the generator is the iterated over and the
|
|
369
|
+
resulting HTML is output.
|
|
370
|
+
|
|
371
|
+
Otherwise, `format()` calls `self.wrap()`, which wraps the generator with
|
|
372
|
+
other generators. These may add some HTML code to the one generated by
|
|
373
|
+
`_format_lines()`, either by modifying the lines generated by the latter,
|
|
374
|
+
then yielding them again with ``(1, line)``, and/or by yielding other HTML
|
|
375
|
+
code before or after the lines, with ``(0, html)``. The distinction between
|
|
376
|
+
source lines and other code makes it possible to wrap the generator multiple
|
|
377
|
+
times.
|
|
378
|
+
|
|
379
|
+
The default `wrap()` implementation adds a ``<div>`` and a ``<pre>`` tag.
|
|
380
|
+
|
|
381
|
+
A custom `HtmlFormatter` subclass could look like this:
|
|
382
|
+
|
|
383
|
+
.. sourcecode:: python
|
|
384
|
+
|
|
385
|
+
class CodeHtmlFormatter(HtmlFormatter):
|
|
386
|
+
|
|
387
|
+
def wrap(self, source, *, include_div):
|
|
388
|
+
return self._wrap_code(source)
|
|
389
|
+
|
|
390
|
+
def _wrap_code(self, source):
|
|
391
|
+
yield 0, '<code>'
|
|
392
|
+
for i, t in source:
|
|
393
|
+
if i == 1:
|
|
394
|
+
# it's a line of formatted code
|
|
395
|
+
t += '<br>'
|
|
396
|
+
yield i, t
|
|
397
|
+
yield 0, '</code>'
|
|
398
|
+
|
|
399
|
+
This results in wrapping the formatted lines with a ``<code>`` tag, where the
|
|
400
|
+
source lines are broken using ``<br>`` tags.
|
|
401
|
+
|
|
402
|
+
After calling `wrap()`, the `format()` method also adds the "line numbers"
|
|
403
|
+
and/or "full document" wrappers if the respective options are set. Then, all
|
|
404
|
+
HTML yielded by the wrapped generator is output.
|
|
405
|
+
"""
|
|
406
|
+
|
|
407
|
+
name = 'HTML'
|
|
408
|
+
aliases = ['html']
|
|
409
|
+
filenames = ['*.html', '*.htm']
|
|
410
|
+
|
|
411
|
+
def __init__(self, **options):
|
|
412
|
+
Formatter.__init__(self, **options)
|
|
413
|
+
self.title = self._decodeifneeded(self.title)
|
|
414
|
+
self.nowrap = get_bool_opt(options, 'nowrap', False)
|
|
415
|
+
self.noclasses = get_bool_opt(options, 'noclasses', False)
|
|
416
|
+
self.classprefix = options.get('classprefix', '')
|
|
417
|
+
self.cssclass = self._decodeifneeded(options.get('cssclass', 'highlight'))
|
|
418
|
+
self.cssstyles = self._decodeifneeded(options.get('cssstyles', ''))
|
|
419
|
+
self.prestyles = self._decodeifneeded(options.get('prestyles', ''))
|
|
420
|
+
self.cssfile = self._decodeifneeded(options.get('cssfile', ''))
|
|
421
|
+
self.noclobber_cssfile = get_bool_opt(options, 'noclobber_cssfile', False)
|
|
422
|
+
self.tagsfile = self._decodeifneeded(options.get('tagsfile', ''))
|
|
423
|
+
self.tagurlformat = self._decodeifneeded(options.get('tagurlformat', ''))
|
|
424
|
+
self.filename = self._decodeifneeded(options.get('filename', ''))
|
|
425
|
+
self.wrapcode = get_bool_opt(options, 'wrapcode', False)
|
|
426
|
+
self.span_element_openers = {}
|
|
427
|
+
self.debug_token_types = get_bool_opt(options, 'debug_token_types', False)
|
|
428
|
+
|
|
429
|
+
if self.tagsfile:
|
|
430
|
+
if not ctags:
|
|
431
|
+
raise RuntimeError('The "ctags" package must to be installed '
|
|
432
|
+
'to be able to use the "tagsfile" feature.')
|
|
433
|
+
self._ctags = ctags.CTags(self.tagsfile)
|
|
434
|
+
|
|
435
|
+
linenos = options.get('linenos', False)
|
|
436
|
+
if linenos == 'inline':
|
|
437
|
+
self.linenos = 2
|
|
438
|
+
elif linenos:
|
|
439
|
+
# compatibility with <= 0.7
|
|
440
|
+
self.linenos = 1
|
|
441
|
+
else:
|
|
442
|
+
self.linenos = 0
|
|
443
|
+
self.linenostart = abs(get_int_opt(options, 'linenostart', 1))
|
|
444
|
+
self.linenostep = abs(get_int_opt(options, 'linenostep', 1))
|
|
445
|
+
self.linenospecial = abs(get_int_opt(options, 'linenospecial', 0))
|
|
446
|
+
self.nobackground = get_bool_opt(options, 'nobackground', False)
|
|
447
|
+
self.lineseparator = options.get('lineseparator', '\n')
|
|
448
|
+
self.lineanchors = options.get('lineanchors', '')
|
|
449
|
+
self.linespans = options.get('linespans', '')
|
|
450
|
+
self.anchorlinenos = get_bool_opt(options, 'anchorlinenos', False)
|
|
451
|
+
self.hl_lines = set()
|
|
452
|
+
for lineno in get_list_opt(options, 'hl_lines', []):
|
|
453
|
+
try:
|
|
454
|
+
self.hl_lines.add(int(lineno))
|
|
455
|
+
except ValueError:
|
|
456
|
+
pass
|
|
457
|
+
|
|
458
|
+
self._create_stylesheet()
|
|
459
|
+
|
|
460
|
+
def _get_css_class(self, ttype):
|
|
461
|
+
"""Return the css class of this token type prefixed with
|
|
462
|
+
the classprefix option."""
|
|
463
|
+
ttypeclass = _get_ttype_class(ttype)
|
|
464
|
+
if ttypeclass:
|
|
465
|
+
return self.classprefix + ttypeclass
|
|
466
|
+
return ''
|
|
467
|
+
|
|
468
|
+
def _get_css_classes(self, ttype):
|
|
469
|
+
"""Return the CSS classes of this token type prefixed with the classprefix option."""
|
|
470
|
+
cls = self._get_css_class(ttype)
|
|
471
|
+
while ttype not in STANDARD_TYPES:
|
|
472
|
+
ttype = ttype.parent
|
|
473
|
+
cls = self._get_css_class(ttype) + ' ' + cls
|
|
474
|
+
return cls or ''
|
|
475
|
+
|
|
476
|
+
def _get_css_inline_styles(self, ttype):
|
|
477
|
+
"""Return the inline CSS styles for this token type."""
|
|
478
|
+
cclass = self.ttype2class.get(ttype)
|
|
479
|
+
while cclass is None:
|
|
480
|
+
ttype = ttype.parent
|
|
481
|
+
cclass = self.ttype2class.get(ttype)
|
|
482
|
+
return cclass or ''
|
|
483
|
+
|
|
484
|
+
def _create_stylesheet(self):
|
|
485
|
+
t2c = self.ttype2class = {Token: ''}
|
|
486
|
+
c2s = self.class2style = {}
|
|
487
|
+
for ttype, ndef in self.style:
|
|
488
|
+
name = self._get_css_class(ttype)
|
|
489
|
+
style = ''
|
|
490
|
+
if ndef['color']:
|
|
491
|
+
style += 'color: {}; '.format(webify(ndef['color']))
|
|
492
|
+
if ndef['bold']:
|
|
493
|
+
style += 'font-weight: bold; '
|
|
494
|
+
if ndef['italic']:
|
|
495
|
+
style += 'font-style: italic; '
|
|
496
|
+
if ndef['underline']:
|
|
497
|
+
style += 'text-decoration: underline; '
|
|
498
|
+
if ndef['bgcolor']:
|
|
499
|
+
style += 'background-color: {}; '.format(webify(ndef['bgcolor']))
|
|
500
|
+
if ndef['border']:
|
|
501
|
+
style += 'border: 1px solid {}; '.format(webify(ndef['border']))
|
|
502
|
+
if style:
|
|
503
|
+
t2c[ttype] = name
|
|
504
|
+
# save len(ttype) to enable ordering the styles by
|
|
505
|
+
# hierarchy (necessary for CSS cascading rules!)
|
|
506
|
+
c2s[name] = (style[:-2], ttype, len(ttype))
|
|
507
|
+
|
|
508
|
+
def get_style_defs(self, arg=None):
|
|
509
|
+
"""
|
|
510
|
+
Return CSS style definitions for the classes produced by the current
|
|
511
|
+
highlighting style. ``arg`` can be a string or list of selectors to
|
|
512
|
+
insert before the token type classes.
|
|
513
|
+
"""
|
|
514
|
+
style_lines = []
|
|
515
|
+
|
|
516
|
+
style_lines.extend(self.get_linenos_style_defs())
|
|
517
|
+
style_lines.extend(self.get_background_style_defs(arg))
|
|
518
|
+
style_lines.extend(self.get_token_style_defs(arg))
|
|
519
|
+
|
|
520
|
+
return '\n'.join(style_lines)
|
|
521
|
+
|
|
522
|
+
def get_token_style_defs(self, arg=None):
|
|
523
|
+
prefix = self.get_css_prefix(arg)
|
|
524
|
+
|
|
525
|
+
styles = [
|
|
526
|
+
(level, ttype, cls, style)
|
|
527
|
+
for cls, (style, ttype, level) in self.class2style.items()
|
|
528
|
+
if cls and style
|
|
529
|
+
]
|
|
530
|
+
styles.sort()
|
|
531
|
+
|
|
532
|
+
lines = [
|
|
533
|
+
f'{prefix(cls)} {{ {style} }} /* {repr(ttype)[6:]} */'
|
|
534
|
+
for (level, ttype, cls, style) in styles
|
|
535
|
+
]
|
|
536
|
+
|
|
537
|
+
return lines
|
|
538
|
+
|
|
539
|
+
def get_background_style_defs(self, arg=None):
|
|
540
|
+
prefix = self.get_css_prefix(arg)
|
|
541
|
+
bg_color = self.style.background_color
|
|
542
|
+
hl_color = self.style.highlight_color
|
|
543
|
+
|
|
544
|
+
lines = []
|
|
545
|
+
|
|
546
|
+
if arg and not self.nobackground and bg_color is not None:
|
|
547
|
+
text_style = ''
|
|
548
|
+
if Text in self.ttype2class:
|
|
549
|
+
text_style = ' ' + self.class2style[self.ttype2class[Text]][0]
|
|
550
|
+
lines.insert(
|
|
551
|
+
0, '{}{{ background: {};{} }}'.format(
|
|
552
|
+
prefix(''), bg_color, text_style
|
|
553
|
+
)
|
|
554
|
+
)
|
|
555
|
+
if hl_color is not None:
|
|
556
|
+
lines.insert(
|
|
557
|
+
0, '{} {{ background-color: {} }}'.format(prefix('hll'), hl_color)
|
|
558
|
+
)
|
|
559
|
+
|
|
560
|
+
return lines
|
|
561
|
+
|
|
562
|
+
def get_linenos_style_defs(self):
|
|
563
|
+
lines = [
|
|
564
|
+
f'pre {{ {self._pre_style} }}',
|
|
565
|
+
f'td.linenos .normal {{ {self._linenos_style} }}',
|
|
566
|
+
f'span.linenos {{ {self._linenos_style} }}',
|
|
567
|
+
f'td.linenos .special {{ {self._linenos_special_style} }}',
|
|
568
|
+
f'span.linenos.special {{ {self._linenos_special_style} }}',
|
|
569
|
+
]
|
|
570
|
+
|
|
571
|
+
return lines
|
|
572
|
+
|
|
573
|
+
def get_css_prefix(self, arg):
|
|
574
|
+
if arg is None:
|
|
575
|
+
arg = ('cssclass' in self.options and '.'+self.cssclass or '')
|
|
576
|
+
if isinstance(arg, str):
|
|
577
|
+
args = [arg]
|
|
578
|
+
else:
|
|
579
|
+
args = list(arg)
|
|
580
|
+
|
|
581
|
+
def prefix(cls):
|
|
582
|
+
if cls:
|
|
583
|
+
cls = '.' + cls
|
|
584
|
+
tmp = []
|
|
585
|
+
for arg in args:
|
|
586
|
+
tmp.append((arg and arg + ' ' or '') + cls)
|
|
587
|
+
return ', '.join(tmp)
|
|
588
|
+
|
|
589
|
+
return prefix
|
|
590
|
+
|
|
591
|
+
@property
|
|
592
|
+
def _pre_style(self):
|
|
593
|
+
return 'line-height: 125%;'
|
|
594
|
+
|
|
595
|
+
@property
|
|
596
|
+
def _linenos_style(self):
|
|
597
|
+
color = self.style.line_number_color
|
|
598
|
+
background_color = self.style.line_number_background_color
|
|
599
|
+
return f'color: {color}; background-color: {background_color}; padding-left: 5px; padding-right: 5px;'
|
|
600
|
+
|
|
601
|
+
@property
|
|
602
|
+
def _linenos_special_style(self):
|
|
603
|
+
color = self.style.line_number_special_color
|
|
604
|
+
background_color = self.style.line_number_special_background_color
|
|
605
|
+
return f'color: {color}; background-color: {background_color}; padding-left: 5px; padding-right: 5px;'
|
|
606
|
+
|
|
607
|
+
def _decodeifneeded(self, value):
|
|
608
|
+
if isinstance(value, bytes):
|
|
609
|
+
if self.encoding:
|
|
610
|
+
return value.decode(self.encoding)
|
|
611
|
+
return value.decode()
|
|
612
|
+
return value
|
|
613
|
+
|
|
614
|
+
def _wrap_full(self, inner, outfile):
|
|
615
|
+
if self.cssfile:
|
|
616
|
+
if os.path.isabs(self.cssfile):
|
|
617
|
+
# it's an absolute filename
|
|
618
|
+
cssfilename = self.cssfile
|
|
619
|
+
else:
|
|
620
|
+
try:
|
|
621
|
+
filename = outfile.name
|
|
622
|
+
if not filename or filename[0] == '<':
|
|
623
|
+
# pseudo files, e.g. name == '<fdopen>'
|
|
624
|
+
raise AttributeError
|
|
625
|
+
cssfilename = os.path.join(os.path.dirname(filename),
|
|
626
|
+
self.cssfile)
|
|
627
|
+
except AttributeError:
|
|
628
|
+
print('Note: Cannot determine output file name, '
|
|
629
|
+
'using current directory as base for the CSS file name',
|
|
630
|
+
file=sys.stderr)
|
|
631
|
+
cssfilename = self.cssfile
|
|
632
|
+
# write CSS file only if noclobber_cssfile isn't given as an option.
|
|
633
|
+
try:
|
|
634
|
+
if not os.path.exists(cssfilename) or not self.noclobber_cssfile:
|
|
635
|
+
with open(cssfilename, "w", encoding="utf-8") as cf:
|
|
636
|
+
cf.write(CSSFILE_TEMPLATE %
|
|
637
|
+
{'styledefs': self.get_style_defs('body')})
|
|
638
|
+
except OSError as err:
|
|
639
|
+
err.strerror = 'Error writing CSS file: ' + err.strerror
|
|
640
|
+
raise
|
|
641
|
+
|
|
642
|
+
yield 0, (DOC_HEADER_EXTERNALCSS %
|
|
643
|
+
dict(title=self.title,
|
|
644
|
+
cssfile=self.cssfile,
|
|
645
|
+
encoding=self.encoding))
|
|
646
|
+
else:
|
|
647
|
+
yield 0, (DOC_HEADER %
|
|
648
|
+
dict(title=self.title,
|
|
649
|
+
styledefs=self.get_style_defs('body'),
|
|
650
|
+
encoding=self.encoding))
|
|
651
|
+
|
|
652
|
+
yield from inner
|
|
653
|
+
yield 0, DOC_FOOTER
|
|
654
|
+
|
|
655
|
+
def _wrap_tablelinenos(self, inner):
|
|
656
|
+
dummyoutfile = StringIO()
|
|
657
|
+
lncount = 0
|
|
658
|
+
for t, line in inner:
|
|
659
|
+
if t:
|
|
660
|
+
lncount += 1
|
|
661
|
+
dummyoutfile.write(line)
|
|
662
|
+
|
|
663
|
+
fl = self.linenostart
|
|
664
|
+
mw = len(str(lncount + fl - 1))
|
|
665
|
+
sp = self.linenospecial
|
|
666
|
+
st = self.linenostep
|
|
667
|
+
anchor_name = self.lineanchors or self.linespans
|
|
668
|
+
aln = self.anchorlinenos
|
|
669
|
+
nocls = self.noclasses
|
|
670
|
+
|
|
671
|
+
lines = []
|
|
672
|
+
|
|
673
|
+
for i in range(fl, fl+lncount):
|
|
674
|
+
print_line = i % st == 0
|
|
675
|
+
special_line = sp and i % sp == 0
|
|
676
|
+
|
|
677
|
+
if print_line:
|
|
678
|
+
line = '%*d' % (mw, i)
|
|
679
|
+
if aln:
|
|
680
|
+
line = '<a href="#%s-%d">%s</a>' % (anchor_name, i, line)
|
|
681
|
+
else:
|
|
682
|
+
line = ' ' * mw
|
|
683
|
+
|
|
684
|
+
if nocls:
|
|
685
|
+
if special_line:
|
|
686
|
+
style = f' style="{self._linenos_special_style}"'
|
|
687
|
+
else:
|
|
688
|
+
style = f' style="{self._linenos_style}"'
|
|
689
|
+
else:
|
|
690
|
+
if special_line:
|
|
691
|
+
style = ' class="special"'
|
|
692
|
+
else:
|
|
693
|
+
style = ' class="normal"'
|
|
694
|
+
|
|
695
|
+
if style:
|
|
696
|
+
line = f'<span{style}>{line}</span>'
|
|
697
|
+
|
|
698
|
+
lines.append(line)
|
|
699
|
+
|
|
700
|
+
ls = '\n'.join(lines)
|
|
701
|
+
|
|
702
|
+
# If a filename was specified, we can't put it into the code table as it
|
|
703
|
+
# would misalign the line numbers. Hence we emit a separate row for it.
|
|
704
|
+
filename_tr = ""
|
|
705
|
+
if self.filename:
|
|
706
|
+
filename_tr = (
|
|
707
|
+
'<tr><th colspan="2" class="filename">'
|
|
708
|
+
'<span class="filename">' + self.filename + '</span>'
|
|
709
|
+
'</th></tr>')
|
|
710
|
+
|
|
711
|
+
# in case you wonder about the seemingly redundant <div> here: since the
|
|
712
|
+
# content in the other cell also is wrapped in a div, some browsers in
|
|
713
|
+
# some configurations seem to mess up the formatting...
|
|
714
|
+
yield 0, (f'<table class="{self.cssclass}table">' + filename_tr +
|
|
715
|
+
'<tr><td class="linenos"><div class="linenodiv"><pre>' +
|
|
716
|
+
ls + '</pre></div></td><td class="code">')
|
|
717
|
+
yield 0, '<div>'
|
|
718
|
+
yield 0, dummyoutfile.getvalue()
|
|
719
|
+
yield 0, '</div>'
|
|
720
|
+
yield 0, '</td></tr></table>'
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
def _wrap_inlinelinenos(self, inner):
|
|
724
|
+
# need a list of lines since we need the width of a single number :(
|
|
725
|
+
inner_lines = list(inner)
|
|
726
|
+
sp = self.linenospecial
|
|
727
|
+
st = self.linenostep
|
|
728
|
+
num = self.linenostart
|
|
729
|
+
mw = len(str(len(inner_lines) + num - 1))
|
|
730
|
+
anchor_name = self.lineanchors or self.linespans
|
|
731
|
+
aln = self.anchorlinenos
|
|
732
|
+
nocls = self.noclasses
|
|
733
|
+
|
|
734
|
+
for _, inner_line in inner_lines:
|
|
735
|
+
print_line = num % st == 0
|
|
736
|
+
special_line = sp and num % sp == 0
|
|
737
|
+
|
|
738
|
+
if print_line:
|
|
739
|
+
line = '%*d' % (mw, num)
|
|
740
|
+
else:
|
|
741
|
+
line = ' ' * mw
|
|
742
|
+
|
|
743
|
+
if nocls:
|
|
744
|
+
if special_line:
|
|
745
|
+
style = f' style="{self._linenos_special_style}"'
|
|
746
|
+
else:
|
|
747
|
+
style = f' style="{self._linenos_style}"'
|
|
748
|
+
else:
|
|
749
|
+
if special_line:
|
|
750
|
+
style = ' class="linenos special"'
|
|
751
|
+
else:
|
|
752
|
+
style = ' class="linenos"'
|
|
753
|
+
|
|
754
|
+
if style:
|
|
755
|
+
linenos = f'<span{style}>{line}</span>'
|
|
756
|
+
else:
|
|
757
|
+
linenos = line
|
|
758
|
+
|
|
759
|
+
if aln:
|
|
760
|
+
yield 1, ('<a href="#%s-%d">%s</a>' % (anchor_name, num, linenos) +
|
|
761
|
+
inner_line)
|
|
762
|
+
else:
|
|
763
|
+
yield 1, linenos + inner_line
|
|
764
|
+
num += 1
|
|
765
|
+
|
|
766
|
+
def _wrap_lineanchors(self, inner):
|
|
767
|
+
s = self.lineanchors
|
|
768
|
+
# subtract 1 since we have to increment i *before* yielding
|
|
769
|
+
i = self.linenostart - 1
|
|
770
|
+
for t, line in inner:
|
|
771
|
+
if t:
|
|
772
|
+
i += 1
|
|
773
|
+
href = "" if self.linenos else ' href="#%s-%d"' % (s, i)
|
|
774
|
+
yield 1, '<a id="%s-%d" name="%s-%d"%s></a>' % (s, i, s, i, href) + line
|
|
775
|
+
else:
|
|
776
|
+
yield 0, line
|
|
777
|
+
|
|
778
|
+
def _wrap_linespans(self, inner):
|
|
779
|
+
s = self.linespans
|
|
780
|
+
i = self.linenostart - 1
|
|
781
|
+
for t, line in inner:
|
|
782
|
+
if t:
|
|
783
|
+
i += 1
|
|
784
|
+
yield 1, '<span id="%s-%d">%s</span>' % (s, i, line)
|
|
785
|
+
else:
|
|
786
|
+
yield 0, line
|
|
787
|
+
|
|
788
|
+
def _wrap_div(self, inner):
|
|
789
|
+
style = []
|
|
790
|
+
if (self.noclasses and not self.nobackground and
|
|
791
|
+
self.style.background_color is not None):
|
|
792
|
+
style.append(f'background: {self.style.background_color}')
|
|
793
|
+
if self.cssstyles:
|
|
794
|
+
style.append(self.cssstyles)
|
|
795
|
+
style = '; '.join(style)
|
|
796
|
+
|
|
797
|
+
yield 0, ('<div' + (self.cssclass and f' class="{self.cssclass}"') +
|
|
798
|
+
(style and (f' style="{style}"')) + '>')
|
|
799
|
+
yield from inner
|
|
800
|
+
yield 0, '</div>\n'
|
|
801
|
+
|
|
802
|
+
def _wrap_pre(self, inner):
|
|
803
|
+
style = []
|
|
804
|
+
if self.prestyles:
|
|
805
|
+
style.append(self.prestyles)
|
|
806
|
+
if self.noclasses:
|
|
807
|
+
style.append(self._pre_style)
|
|
808
|
+
style = '; '.join(style)
|
|
809
|
+
|
|
810
|
+
if self.filename and self.linenos != 1:
|
|
811
|
+
yield 0, ('<span class="filename">' + self.filename + '</span>')
|
|
812
|
+
|
|
813
|
+
# the empty span here is to keep leading empty lines from being
|
|
814
|
+
# ignored by HTML parsers
|
|
815
|
+
yield 0, ('<pre' + (style and f' style="{style}"') + '><span></span>')
|
|
816
|
+
yield from inner
|
|
817
|
+
yield 0, '</pre>'
|
|
818
|
+
|
|
819
|
+
def _wrap_code(self, inner):
|
|
820
|
+
yield 0, '<code>'
|
|
821
|
+
yield from inner
|
|
822
|
+
yield 0, '</code>'
|
|
823
|
+
|
|
824
|
+
@functools.lru_cache(maxsize=100)
|
|
825
|
+
def _translate_parts(self, value):
|
|
826
|
+
"""HTML-escape a value and split it by newlines."""
|
|
827
|
+
return value.translate(_escape_html_table).split('\n')
|
|
828
|
+
|
|
829
|
+
def _format_lines(self, tokensource):
|
|
830
|
+
"""
|
|
831
|
+
Just format the tokens, without any wrapping tags.
|
|
832
|
+
Yield individual lines.
|
|
833
|
+
"""
|
|
834
|
+
nocls = self.noclasses
|
|
835
|
+
lsep = self.lineseparator
|
|
836
|
+
tagsfile = self.tagsfile
|
|
837
|
+
|
|
838
|
+
lspan = ''
|
|
839
|
+
line = []
|
|
840
|
+
for ttype, value in tokensource:
|
|
841
|
+
try:
|
|
842
|
+
cspan = self.span_element_openers[ttype]
|
|
843
|
+
except KeyError:
|
|
844
|
+
title = ' title="{}"'.format('.'.join(ttype)) if self.debug_token_types else ''
|
|
845
|
+
if nocls:
|
|
846
|
+
css_style = self._get_css_inline_styles(ttype)
|
|
847
|
+
if css_style:
|
|
848
|
+
css_style = self.class2style[css_style][0]
|
|
849
|
+
cspan = f'<span style="{css_style}"{title}>'
|
|
850
|
+
else:
|
|
851
|
+
cspan = ''
|
|
852
|
+
else:
|
|
853
|
+
css_class = self._get_css_classes(ttype)
|
|
854
|
+
if css_class:
|
|
855
|
+
cspan = f'<span class="{css_class}"{title}>'
|
|
856
|
+
else:
|
|
857
|
+
cspan = ''
|
|
858
|
+
self.span_element_openers[ttype] = cspan
|
|
859
|
+
|
|
860
|
+
parts = self._translate_parts(value)
|
|
861
|
+
|
|
862
|
+
if tagsfile and ttype in Token.Name:
|
|
863
|
+
filename, linenumber = self._lookup_ctag(value)
|
|
864
|
+
if linenumber:
|
|
865
|
+
base, filename = os.path.split(filename)
|
|
866
|
+
if base:
|
|
867
|
+
base += '/'
|
|
868
|
+
filename, extension = os.path.splitext(filename)
|
|
869
|
+
url = self.tagurlformat % {'path': base, 'fname': filename,
|
|
870
|
+
'fext': extension}
|
|
871
|
+
parts[0] = "<a href=\"%s#%s-%d\">%s" % \
|
|
872
|
+
(url, self.lineanchors, linenumber, parts[0])
|
|
873
|
+
parts[-1] = parts[-1] + "</a>"
|
|
874
|
+
|
|
875
|
+
# for all but the last line
|
|
876
|
+
for part in parts[:-1]:
|
|
877
|
+
if line:
|
|
878
|
+
# Also check for part being non-empty, so we avoid creating
|
|
879
|
+
# empty <span> tags
|
|
880
|
+
if lspan != cspan and part:
|
|
881
|
+
line.extend(((lspan and '</span>'), cspan, part,
|
|
882
|
+
(cspan and '</span>'), lsep))
|
|
883
|
+
else: # both are the same, or the current part was empty
|
|
884
|
+
line.extend((part, (lspan and '</span>'), lsep))
|
|
885
|
+
yield 1, ''.join(line)
|
|
886
|
+
line = []
|
|
887
|
+
elif part:
|
|
888
|
+
yield 1, ''.join((cspan, part, (cspan and '</span>'), lsep))
|
|
889
|
+
else:
|
|
890
|
+
yield 1, lsep
|
|
891
|
+
# for the last line
|
|
892
|
+
if line and parts[-1]:
|
|
893
|
+
if lspan != cspan:
|
|
894
|
+
line.extend(((lspan and '</span>'), cspan, parts[-1]))
|
|
895
|
+
lspan = cspan
|
|
896
|
+
else:
|
|
897
|
+
line.append(parts[-1])
|
|
898
|
+
elif parts[-1]:
|
|
899
|
+
line = [cspan, parts[-1]]
|
|
900
|
+
lspan = cspan
|
|
901
|
+
# else we neither have to open a new span nor set lspan
|
|
902
|
+
|
|
903
|
+
if line:
|
|
904
|
+
line.extend(((lspan and '</span>'), lsep))
|
|
905
|
+
yield 1, ''.join(line)
|
|
906
|
+
|
|
907
|
+
def _lookup_ctag(self, token):
|
|
908
|
+
entry = ctags.TagEntry()
|
|
909
|
+
if self._ctags.find(entry, token.encode(), 0):
|
|
910
|
+
return entry['file'].decode(), entry['lineNumber']
|
|
911
|
+
else:
|
|
912
|
+
return None, None
|
|
913
|
+
|
|
914
|
+
def _highlight_lines(self, tokensource):
|
|
915
|
+
"""
|
|
916
|
+
Highlighted the lines specified in the `hl_lines` option by
|
|
917
|
+
post-processing the token stream coming from `_format_lines`.
|
|
918
|
+
"""
|
|
919
|
+
hls = self.hl_lines
|
|
920
|
+
|
|
921
|
+
for i, (t, value) in enumerate(tokensource):
|
|
922
|
+
if t != 1:
|
|
923
|
+
yield t, value
|
|
924
|
+
if i + 1 in hls: # i + 1 because Python indexes start at 0
|
|
925
|
+
if self.noclasses:
|
|
926
|
+
style = ''
|
|
927
|
+
if self.style.highlight_color is not None:
|
|
928
|
+
style = (f' style="background-color: {self.style.highlight_color}"')
|
|
929
|
+
yield 1, f'<span{style}>{value}</span>'
|
|
930
|
+
else:
|
|
931
|
+
yield 1, f'<span class="hll">{value}</span>'
|
|
932
|
+
else:
|
|
933
|
+
yield 1, value
|
|
934
|
+
|
|
935
|
+
def wrap(self, source):
|
|
936
|
+
"""
|
|
937
|
+
Wrap the ``source``, which is a generator yielding
|
|
938
|
+
individual lines, in custom generators. See docstring
|
|
939
|
+
for `format`. Can be overridden.
|
|
940
|
+
"""
|
|
941
|
+
|
|
942
|
+
output = source
|
|
943
|
+
if self.wrapcode:
|
|
944
|
+
output = self._wrap_code(output)
|
|
945
|
+
|
|
946
|
+
output = self._wrap_pre(output)
|
|
947
|
+
|
|
948
|
+
return output
|
|
949
|
+
|
|
950
|
+
def format_unencoded(self, tokensource, outfile):
|
|
951
|
+
"""
|
|
952
|
+
The formatting process uses several nested generators; which of
|
|
953
|
+
them are used is determined by the user's options.
|
|
954
|
+
|
|
955
|
+
Each generator should take at least one argument, ``inner``,
|
|
956
|
+
and wrap the pieces of text generated by this.
|
|
957
|
+
|
|
958
|
+
Always yield 2-tuples: (code, text). If "code" is 1, the text
|
|
959
|
+
is part of the original tokensource being highlighted, if it's
|
|
960
|
+
0, the text is some piece of wrapping. This makes it possible to
|
|
961
|
+
use several different wrappers that process the original source
|
|
962
|
+
linewise, e.g. line number generators.
|
|
963
|
+
"""
|
|
964
|
+
source = self._format_lines(tokensource)
|
|
965
|
+
|
|
966
|
+
# As a special case, we wrap line numbers before line highlighting
|
|
967
|
+
# so the line numbers get wrapped in the highlighting tag.
|
|
968
|
+
if not self.nowrap and self.linenos == 2:
|
|
969
|
+
source = self._wrap_inlinelinenos(source)
|
|
970
|
+
|
|
971
|
+
if self.hl_lines:
|
|
972
|
+
source = self._highlight_lines(source)
|
|
973
|
+
|
|
974
|
+
if not self.nowrap:
|
|
975
|
+
if self.lineanchors:
|
|
976
|
+
source = self._wrap_lineanchors(source)
|
|
977
|
+
if self.linespans:
|
|
978
|
+
source = self._wrap_linespans(source)
|
|
979
|
+
source = self.wrap(source)
|
|
980
|
+
if self.linenos == 1:
|
|
981
|
+
source = self._wrap_tablelinenos(source)
|
|
982
|
+
source = self._wrap_div(source)
|
|
983
|
+
if self.full:
|
|
984
|
+
source = self._wrap_full(source, outfile)
|
|
985
|
+
|
|
986
|
+
for t, piece in source:
|
|
987
|
+
outfile.write(piece)
|